Azure / autorest.csharp

Extension for AutoRest (https://github.com/Azure/autorest) that generates C# code
MIT License
142 stars 165 forks source link

Pageable LRO is not implemented yet, please use remove-operation directive to remove the following operationIds #2497

Open thisisdevanshu opened 2 years ago

thisisdevanshu commented 2 years ago

Running into the below error while generating the SDK

Exception: Pageable LRO is not implemented yet, please use remove-operation directive to remove the following operationIds: Spacecrafts_ListAvailableContacts      at AutoRest.CSharp.Mgmt.Generation.MgmtClientBaseWriter.GetMethodDelegate(MgmtClientOperation clientOperation) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Mgmt\Generation\MgmtClientBaseWriter.c  s:line 501     at AutoRest.CSharp.Mgmt.Generation.MgmtClientBaseWriter.WriteMethod(MgmtClientOperation clientOperation, Boolean isAsync) in D:\a_work\1\s\autorest.csharp\src\AutoRest.CSharp\Mgmt\G...

The SDK generation worked after I used remove-operation directive to remove the operationID. However, we still want to support the removed operation.

https://github.com/Azure/azure-sdk-for-net/pull/30092

fengzhou-msft commented 2 years ago

See discussion in #1624