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
I use the generator openapi-yaml for merge serveral yaml files into one. The bug is that the generator remove de simple quotes in examples.
4.1.3, 4.2.0
Simplified input file:
openapi: 3.0.1 info: title: ping test version: '1.0' servers: - url: 'http://localhost:8000/' paths: /search: get: operationId: search parameters: - name: date in: query description: The date of the document. example: '2019-08-06T13:40:43.449Z' required: true schema: type: string format: date-time responses: '201': description: OK
java -jar openapi-generator-cli.jar generate -g openapi-yaml -i openapi.yml
Run the above command Expected output:
... parameters: - name: date in: query description: The date of the document. example: '2019-08-06T13:40:43.449Z' ...
Actual output:
... parameters: - name: date in: query description: The date of the document. example: 2019-08-06T13:40:43.449Z ...
The text was updated successfully, but these errors were encountered:
This may be a duplicate of #3196 Either way it appears related as the stripping of the quotes from the original YAML is causing issues.
Sorry, something went wrong.
No branches or pull requests
Bug Report Checklist
Description
I use the generator openapi-yaml for merge serveral yaml files into one. The bug is that the generator remove de simple quotes in examples.
openapi-generator version
4.1.3, 4.2.0
OpenAPI declaration file content or url
Simplified input file:
Command line used for generation
java -jar openapi-generator-cli.jar generate -g openapi-yaml -i openapi.yml
Steps to reproduce
Run the above command
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: