openapi-generator
openapi-generator copied to clipboard
[REQ] General improvement of AsciiDoc generation
The generated AsciiDoc output is not complete if you compare it to standard swagger.ui (e.g Petstore). Missing things are e.g.
- property restrictions (maxLength, minLength, etc): #11389
- schemas seems to be missing as well
- appDescription: #7851
- invalid value for "example" field: #5710
and other such as
- convert markdown into asciidoc #7765
Describe the solution you'd like
Update mustaché templates to output more of the information in OpenAPI spec file when generating AsciiDoc.
Describe alternatives you've considered
None other than completely manual writing.
EDIT: deleted grumble about passthrough of notation, which is related to https://github.com/OpenAPITools/openapi-generator/issues/9324
But... 👍 yes please, this general improvement would be very useful!
It would be nice to expose to Mustache temlplates:
- tags descriptions
- security schemes descriptions
It would be nice to expose to Mustache temlplates:
- tags descriptions
- security schemes descriptions
We are actually considering to leave Open API Tools and create our own jinja2 templates instead due to Open API Tools using Mustache which is logic less.
Our work with our own jinja2 template for OpenAPI Spec to AsciiDoc using jinja2 has started. We are hoping to release it as open source.