Problem with Array of Array
I think that array of array are not handled correctly. The wrapping array is ignored while drawing the schema, while the sample is rendered correctly.
Here is a yaml example with two cases:
responses:
'200':
description: array of array at root level
schema:
type: array
items:
type: array
items:
type: object
properties:
name:
type: string
age:
type: integer
'201':
description: object of array of array
schema:
type: object
properties:
myArray:
type: array
items:
type: array
items:
type: string
hey @eitan101. Thanks for reporting.
Will be fixed soon
Hey @RomanGotsiy, thanks for an amazing tool. Regarding this bug, I tried to fix it by myself, but It involved to many changes so I chose to wait for your fix :)
Do you know by any chance when is it going to be fixed? I want to know if to wait for it or try to find other workaround as midterm solution.
Thanks again,
hey @eitan101. Sorry for long response. Right now I'm busy with other things so I can't promise when it will be fixed. I will try to fix this on the following weekends. If I don't manage, I will let you know.
This still hasn't been fixed.... :( Arrays of objects/arrays inside a parent object are things I incorporate often, and it being not able to expand in the docs is a big pain.
Is there a chance this issue will be fixed any time soon?
OMH 😳
So many years have passed, and the problem still hasn't been solved! 🤦♂️
@JohnyDNU you are welcome to open a PR 🙏