-
Notifications
You must be signed in to change notification settings - Fork 312
Description
When a field description goes beyond a certain length, it gets cut off - with no expand arrow available to expand the text. However, if the openapi spec for that field has certain other definitions, such as an array with amaxItems
defined, an arrow appears:
And once that arrow is expanded, you can see the full description.
(you can notice with the highlighting, there is some hidden part below the first highlighted line!)
The description will become fully readable if you toggle on Multiline description for the schema - it would be convenient to also have expansion arrows for each description, not only in cases where there is some additional openapi property like maxItems
! Users who are not familiar with RapiDoc may miss the Single line/Multiline description toggle, but understand the expandable arrows.
For now we've just added schema-description-expanded="true"
as a workaround, but this starts with every field being fully expanded which takes up a large amount of space in some complex schemas