advanced-rest-client / api-type-document

⛔️ DEPRECATED This component is being deprecated. Use `api-documentation` instead.
0 stars 2 forks source link

[W-11209734] Missing array length #55

Closed carowright closed 2 years ago

carowright commented 2 years ago

Bug: When defining an array type with minItems and maxItems nodes, no info about length is documented.

Fix: If any of those properties are defined, a label is added right after the items info

Screen Shot 2022-06-24 at 16 38 12
twoplustwoone commented 2 years ago

What happens for properties that aren't arrays but are required? I think the required is mapped as having minCount: 1, right?