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
When defining, within a Schema Object, an "array" element with both constraints (e.g. "minLength") and "description", they get mixed-up in unclear way.
Sorry, I should had been more explicit...
I'd expect the description on a stand-alone line, just like for "string" elements (hence the comparison in the screenshot):
Min` Items: 1 Max Items: 1000 Pattern: ^ID[0-9]$
List of invalid IDs
My original description was "Invalid IDs", and it seemed a bit weird to read "Max Items: 1000 Invalid IDs".
after some discussion we decided to take the description at the top. This do create a problem of constrains being in the 2nd line and most likely be not shown in single line mode. but added an indicator for that
When defining, within a Schema Object, an "array" element with both constraints (e.g. "minLength") and "description", they get mixed-up in unclear way.
RapiDoc version 9.2.0 (from CDN: https://unpkg.com/rapidoc@9.2.0/dist/rapidoc-min.js)
Example:
Schema
Screenshot (comparison of "string" and "array" elements, both with constraints and description)
The text was updated successfully, but these errors were encountered: