-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
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
[BUG] [python] [python-pydantic-v1] generator template malformats markdown in description sections #20464
Comments
Tested with latest snapshot jar (openapi-generator-cli-7.11.0-20250114.142750-100.jar) to confirm that issue is still present. |
python-pydantic-v1 also seems to suffer the same, also against above jar. |
The original contents from the yaml source file (line 3568-3574) has newlines:
|
Bug Report Checklist
Description
When generating documentation for the Topdesk incident API the parameter sections of the documentation is mangled up, output for
incidents_id_id_archive_put
is like this:where it should be:
to render properly.
openapi-generator version
7.10.0
OpenAPI declaration file content or url
https://developers.topdesk.com/swagger/incident_specification_3.8.5.yaml
Generation Details
openapi-generator-cli generate -i https://developers.topdesk.com/swagger/incident_specification_3.8.5.yaml -g python
Steps to reproduce
openapi-generator-cli generate -i https://developers.topdesk.com/swagger/incident_specification_3.8.5.yaml -g python
Related issues/PRs
Suggest a fix
I think the templates miss a newline
The text was updated successfully, but these errors were encountered: