Can't generate with "vesrion-tolerant" in swagger readme settings
See original GitHub issueBefore filling a bug
- have you checked the faq for known issues.
- have you checked existing issues
Describe the bug The error thrown when I trying to regenerate python appconfiguration package.
- Autorest command used:
autorest --python --v3 .\swagger\README.md
- I set version-tolerant: false in swagger readme, the full readme is:
## Azure Appconfiguration for Python
### Settings
``` yaml
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/appconfiguration/data-plane/Microsoft.AppConfiguration/stable/1.0/appconfiguration.json
output-folder: "../azure/appconfiguration/_generated"
namespace: azure.appconfiguration
no-namespace-folders: true
python: true
python-mode: create
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-appconfiguration
clear-output-folder: true
enable-xml: true
vanilla: true
vesrion-tolerant: false
Expected behavior Generate the package without errors.
Additional context The error I got:
Issue Analytics
- State:
- Created a year ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
ReadMe: OpenAPI and Swagger for API Documentation
In this guide, we explain Swagger and OpenAPI, how to create an OpenAPI or Swagger description for an API, and how to use...
Read more >swagger-codegen/README.md at master - GitHub
swagger -codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI ...
Read more >Swagger Codegen Documentation
Generating Code The Codegen creates a README file with all the information for running and building the API. Each language creates a different...
Read more >OpenAPI | IntelliJ IDEA Documentation - JetBrains
For a full list of supported languages, see the OpenAPI Generator documentation. Swagger Codegen run configuration. IntelliJ IDEA creates a ...
Read more >drf-yasg - Yet another Swagger generator - Read the Docs
drf-yasg - Yet another Swagger generator. OpenAPI 3.0 note; Features; Table of contents; Usage. 0. Installation; 1. Quickstart; 2. Configuration.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it seems these are more warnings and not failrues since the black step doesn’t fail. Closing this issue because I don’t think there’s an issue here anymore. @YalinLi0312 let me know if you’re ok with this!
I don’t see any issues with the current generated code in AooConfig. Yeah, it’s ok to close this isse. Thanks @iscai-msft @timotheeguerin for your help!