question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Array definitions are not displayed in the Developer portal

See original GitHub issue

Bug 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: image

Expected behavior

Expected behavior is the same as the legacy portal as shown below: image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mikebudzynskicommented, Aug 6, 2020

Acknowledged. We won’t be able to address this issue before September though.

1reaction
adamstruckcommented, Aug 6, 2020

I would also like to see this issue fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple array definitions for single array in Azure API- ...
Try specifying schemas for response/request via $ref only, even if it's an array of object you've already defined - define a new object...
Read more >
API import restrictions and known issues - Azure
Details of known issues and restrictions on OpenAPI, WSDL, and WADL formats support in Azure API Management.
Read more >
OpenApi import in Azure Api Management Gateway
The problem is that it is not supported to have a parameter with an array of a type (defined in #/definitions/FilterDto). And it...
Read more >
Array property definition ‒ Qlik Sense for developers
This API is under development. Do not rely on it. It may change or be removed in future versions. Fields. The array definition...
Read more >
Array.prototype.splice() - JavaScript - MDN Web Docs
If start >= array.length , no element will be deleted, but the method will behave as an adding function, adding as many elements...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found