Open lfvjimisola opened 2 years ago
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:
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.
@lfvjimisola any updates on your open source project?
@lfvjimisola any updates on your open source project?
Yes, see: https://github.com/luftfartsverket/openapi-to-asciidoc
The generated AsciiDoc output is not complete if you compare it to standard swagger.ui (e.g Petstore). Missing things are e.g.
and other such as
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.