question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't generate with "vesrion-tolerant" in swagger readme settings

See original GitHub issue

Before 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: image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
iscai-msftcommented, Sep 23, 2022

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!

0reactions
YalinLi0312commented, Sep 23, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found