We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling swagger-codegen for the ruby client does not update the OpenAPI spec version in the comments of the spec files.
> swagger-codegen version 3.0.52
OpenAPI yaml spec:
https://gist.github.com/pijng/b3d09581c4f7bbf81bac4778dc8516f2
swagger-codegen generate -i ./openapi.yaml -l ruby -o /Projects/swagger-codegen-ruby/ --additional-properties gemName=moonlogs-ruby gemVersion=0.3.10
openapi.yaml
swagger-codegen generate -i ./openapi.yaml -l ruby -o <path-to-directory> --additional-properties gemName=moonlogs-ruby gemVersion=0.3.10
info.version
gemVersion
swagger-codegen generate -i ./openapi.yaml -l ruby -o <path-to-same-directory> --additional-properties gemName=moonlogs-ruby gemVersion=0.3.11
As the result, all references to version 0.3.10 will be replaced by 0.3.11, except for files in the spec/ directory.
spec/
Demonstrating the difference between versions at a single point in time:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Calling swagger-codegen for the ruby client does not update the OpenAPI spec version in the comments of the spec files.
Swagger-codegen version
Swagger declaration file content or url
OpenAPI yaml spec:
https://gist.github.com/pijng/b3d09581c4f7bbf81bac4778dc8516f2
Command line used for generation
Steps to reproduce
openapi.yaml
spec from gist by calling:info.version
to 0.3.11 inopenapi.yaml
openapi.yaml
with relevant version ingemVersion
:As the result, all references to version 0.3.10 will be replaced by 0.3.11, except for files in the
spec/
directory.Demonstrating the difference between versions at a single point in time:
Related issues/PRs
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: