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
Environmental information:
I'm running this out of the swaggerapi/swagger-ui:v3.32.2 image
Using "openapi": "3.0.3",
Problem:
I have the following parameter that I would like to display in my swagger api doc page. The first one displays fine since its a simple list but the second has problems since it is a nested list:
"parameters": [
{
"name": "simple_list",
"in": "query",
"description": "Just a list of ints",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
},
{
"name": "nested_list",
"in": "query",
"description": "List of list of ints",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
}
}
],
As seen in this screenshot when I try to add an element to the nested lists I get 馃槺 Could not render n, see the console.
Any resolution on this? I have the same error. The console error I see is:
swagger-ui-bundle.js:2 TypeError: a.getIn is not a function
at n.value (swagger-ui-bundle.js:2)
at n.I.t.render (swagger-ui-bundle.js:2)
at u._renderValidatedComponentWithoutOwnerOrContext (swagger-ui-bundle.js:2)
at u._renderValidatedComponent (swagger-ui-bundle.js:2)
at u._updateRenderedComponent (swagger-ui-bundle.js:2)
at u._performComponentUpdate (swagger-ui-bundle.js:2)
at updateComponent (swagger-ui-bundle.js:2)
at u.receiveComponent (swagger-ui-bundle.js:2)
at Object.receiveComponent (swagger-ui-bundle.js:2)
at Object.updateChildren (swagger-ui-bundle.js:2)
Environmental information:
I'm running this out of the
swaggerapi/swagger-ui:v3.32.2
imageUsing
"openapi": "3.0.3",
Problem:
I have the following parameter that I would like to display in my swagger api doc page. The first one displays fine since its a simple list but the second has problems since it is a nested list:
As seen in this screenshot when I try to add an element to the nested lists I get
馃槺 Could not render n, see the console.
From what I can see I'm providing the nested array properly according to https://swagger.io/docs/specification/data-models/data-types/
Please let me know if theres any other information I can provide
The text was updated successfully, but these errors were encountered: