Azure / autorest

OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python
MIT License
4.54k stars 728 forks source link

Non list API requiring a GetAll method in SDK generation #4946

Open tejasm-microsoft opened 2 months ago

tejasm-microsoft commented 2 months ago

Before asking the question:

I am running the GenerateCode command for autorest and getting this issue on an endpoint that doesn't have a list result. :

fatal | The ResourceCollection SubmittedResourceRequestStatusCollection (RequestPath: /providers/Microsoft.Management/managementGroups/{managementGro upId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/groupQuotaRequests/{requestId}) does not have a GetAll method fatal | Process() cancelled due to failure

Here is the swagger json: Swagger Link Is there a way to suppress this or find out why it's requiring a GetAll method?