Closed kylewm closed 1 year ago
Hi @kylewm Thank You for reporting this issue. I take a look - the good news is that it will be easy to fix. 😄 The Jinja templates in this project are quite complex, also because of the number of combinations that are possible with OpenAPI specification.
That's great to hear, and thank you for the speedy response! I started taking a look at it myself, but quickly got overwhelmed by jinja's whitespace stripping behavior 😄 so wanted to at least capture the issue.
Hi @kylewm This is now fixed, please upgrade with
pip install -U essentials-openapi
Once again, this took me much time because I am focused on my web framework these days.
With this release I also fixed another bug and made a bit of workflow maintenance (upgrading to pyproject.toml
and Hatch build).
When a response either has no content or is a reference to a response schema, the newline after it is getting stripped. Here's a small example:
Renders markdown like this
i.e.,
### POST
and### DELETE
are not on their own line.Thanks for taking a look!