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
Note: Hey @tkarls You have to use maxItems and minItems annotations in your spec file in the case of type is array. Then It will show Arrya of strings [0..3] items
@RomanHotsiy To show array content constraints I've modify redoc source code to display string length. I've attached a screenshot of how it is looking in UI. And I've Implemented this feature to support all data types including string, number, integer, boolean but except object why because in object case we have content to display. Where in case of other data types we don't have content to display except definition.
Consider the following yaml excerpt.
Redoc reders these as shown
Ideally the limits [ 5 .. 10 ] would be indicated for the array too.
Like "Array of integers [ 5 .. 10 ]"
The text was updated successfully, but these errors were encountered: