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
Easily reproducible in the swagger ui rendered by the editor at editor.swagger.io
Describe the bug you're encountering
Operations with very long paths and summaries render strangely. The long path takes maybe 90% of the space, resulting
in the operation summary rendering very strangely.
To reproduce...
Steps to reproduce the behavior:
View a document with an operation that (a) has a very long path and (b) has a non-empty summary or a summary with a single very long word (like a namespace)
Note the 'squished' appearance of the operation summary or the path. See screenshot. It looks worse the longer the operation summary is.
Expected behavior
Better wrapping and space distribution. Wrapping would ideally occur at a '/' in the path and more horizontal space should be given to the summary.
Screenshots
More dramatic example:
Bad wrapping with the summary:
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
Excerpt from edited petstore json found here: http://petstore.swagger.io/v2/swagger.json
Swagger-UI configuration options:
Easily reproducible in the swagger ui rendered by the editor at editor.swagger.io
Describe the bug you're encountering
Operations with very long paths and summaries render strangely. The long path takes maybe 90% of the space, resulting
in the operation summary rendering very strangely.
To reproduce...
Steps to reproduce the behavior:
Expected behavior
Better wrapping and space distribution. Wrapping would ideally occur at a '/' in the path and more horizontal space should be given to the summary.
Screenshots
More dramatic example:

Bad wrapping with the summary:

The text was updated successfully, but these errors were encountered: