Azure / autorest.azure-functions

Code Generation for Azure Functions
MIT License
46 stars 6 forks source link

azure-functions-csharp - TypeError: request.UpdateSignatureParameters is not a function #15

Open sanjaypatil22 opened 1 year ago

sanjaypatil22 commented 1 year ago

Troubleshooting:

Setup (please complete the following information): **

Describe the bug

Getting error while generating csharp code for Azure Functions for the openAPI defination given as input.

To Reproduce

Run autorest command - autorest --azure-functions-csharp --input-file:./Source/petstore-expanded.json --output-folder:./Generated --namespace:SampleApi.PetStore --version:3.0.6320 --verbose

Sample File attached Refer this file as input. https://github.com/OAI/OpenAPI-Specification/blob/main/examples/v2.0/json/petstore-expanded.json

Stacktrace FATAL: TypeError: request.updateSignatureParameters is not a function

Click to expand the full stacktrace FATAL: TypeError: request.updateSignatureParameters is not a function Error: Plugin grouper reported failure.

Additional context Add any other context about the problem here.