Array definitions are not displayed in the Developer portal
See original GitHub issueBug description
When the API contains an array of objects, the item description of the array is not displayed in the Developer Portal.
Reproduction steps
I have this definition in my Swagger:
{ "type": "object", "properties": { "Products": { "type": "array", "items": { "type": "object", "description": "products of the company", "properties": { "productName": { "type": "string", "description": "name of the product" } }, "required": [ "productName" ] } } } }
I have an operation with a response associated with the type of this definition.
Unfortunately, the portal did not represent the definition of my object because it is an array:
Expected behavior
Expected behavior is the same as the legacy portal as shown below:
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (4 by maintainers)
Top GitHub Comments
Acknowledged. We won’t be able to address this issue before September though.
I would also like to see this issue fixed.