Open fslefevre78 opened 1 year ago
Troubleshooting:
autorest --reset
Showing All Installed Extensions
Type Extension Name Version Location extension @autorest/azure-functions-csharp 0.2.0-preview-dev.321054549 C:\Users\flefe.autorest\@autorest_azure-functions-csharp@0.2.0-preview-dev.321054549 extension @autorest/azure-functions-python 0.1.0-preview C:\Users\flefe.autorest\@autorest_azure-functions-python@0.1.0-preview extension @autorest/azure-functions-typescript 0.0.1-preview C:\Users\flefe.autorest\@autorest_azure-functions-typescript@0.0.1-preview core @autorest/core 3.0.6320 C:\Users\flefe.autorest\@autorest_core@3.0.6320 core @autorest/core 3.9.6 C:\Users\flefe.autorest\@autorest_core@3.9.6 extension @autorest/modelerfour 4.15.396 C:\Users\flefe.autorest\@autorest_modelerfour@4.15.396 extension @autorest/modelerfour 4.15.414 C:\Users\flefe.autorest\@autorest_modelerfour@4.15.414
Unable to generate Azure Functions from Open API Specification using autorest with --azure-functions-python while --azure-functions-csharp works fine.
autorest --azure-functions-python --input-file:petstore.json --output-folder:./generated-azfunctions --no-namespace-folders:true --version:3.0.6320 --verbose
Sample File attached petstore.zip
Stacktrace
Additional context Add any other context about the problem here.
Any updates on this bug? Facing it as well and noticed there is no Azure Functions Python V2 support for OpenAPI specs yet.
Troubleshooting:
autorest --reset
and attempt again? Yes/No?Setup (please complete the following information): **
Showing All Installed Extensions
Type Extension Name Version Location extension @autorest/azure-functions-csharp 0.2.0-preview-dev.321054549 C:\Users\flefe.autorest\@autorest_azure-functions-csharp@0.2.0-preview-dev.321054549 extension @autorest/azure-functions-python 0.1.0-preview C:\Users\flefe.autorest\@autorest_azure-functions-python@0.1.0-preview extension @autorest/azure-functions-typescript 0.0.1-preview C:\Users\flefe.autorest\@autorest_azure-functions-typescript@0.0.1-preview core @autorest/core 3.0.6320 C:\Users\flefe.autorest\@autorest_core@3.0.6320 core @autorest/core 3.9.6 C:\Users\flefe.autorest\@autorest_core@3.9.6 extension @autorest/modelerfour 4.15.396 C:\Users\flefe.autorest\@autorest_modelerfour@4.15.396 extension @autorest/modelerfour 4.15.414 C:\Users\flefe.autorest\@autorest_modelerfour@4.15.414
Describe the bug
Unable to generate Azure Functions from Open API Specification using autorest with --azure-functions-python while --azure-functions-csharp works fine.
To Reproduce
autorest --azure-functions-python --input-file:petstore.json --output-folder:./generated-azfunctions --no-namespace-folders:true --version:3.0.6320 --verbose
Sample File attached petstore.zip
Stacktrace
Click to expand the full stacktrace
Additional context Add any other context about the problem here.