You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In my understanding, operationId used openapi spec basically serves the purpose of a method name . If that is correct, it should not contain slash ( "/"). But currently, generated operationId will contain slash because it is derived from path used in the router. This slash can break generated HTML documentation ( it at-least breaks the html2 generator )
Describe the bug
In my understanding,
operationId
used openapi spec basically serves the purpose of amethod name
. If that is correct, it should not contain slash ( "/
"). But currently, generated operationId will contain slash because it is derived frompath
used in the router. This slash can break generated HTML documentation ( it at-least breaks thehtml2
generator )To Reproduce
Steps to reproduce the behavior:
openapi.json
file (wget 'http://127.0.0.1:8000/apidoc/openapi.json'
)openapi-generator-cli generate -i openapi.json -g html2
)Expected behavior
Expecting a fully functional generated HTML file ( like this https://git.harishk.in/harish2704/language-identification-api/src/branch/main/generated/index.html ) But produced HTML was broken
Error Message
There were no error messages generated regarding this issue
Desktop (please complete the following information):
Python Information (please complete the following information):
5.4.0
( this is important. Please see [BUG] html2 generator: some schemas are generated empty OpenAPITools/openapi-generator#11204 (comment) )Additional context
Nothing
The text was updated successfully, but these errors were encountered: