redoc
redoc copied to clipboard
Using @param annotation with body causes redoc rendering to fail
Describe the bug rodoc fails with error:
Something went wrong...
n.slice is not a function or its return value is not iterable
Stack trace
TypeError: n.slice is not a function or its return value is not iterable
at get codeSamples (http://127.0.0.1:8001/docs:57:87280)
at Tu.get (http://127.0.0.1:8001/docs:57:9924)
at Vb.render (http://127.0.0.1:8001/docs:1688:133)
at http://127.0.0.1:8001/docs:1108:5907
at http://127.0.0.1:8001/docs:1108:5926
at Je (http://127.0.0.1:8001/docs:18:571444)
at t.track (http://127.0.0.1:8001/docs:18:575944)
at Vb.<anonymous> (http://127.0.0.1:8001/docs:1108:5846)
at t.render (http://127.0.0.1:8001/docs:1108:7803)
at js (http://127.0.0.1:8001/docs:18:404628)
ReDoc Version: 2.1.5
Commit: 3658b6d
Minimal reproducible OpenAPI snippet(if possible)
{
"description": "body",
"name": "request",
"in": "body",
"required": true,
"schema": {
"type": "string"
}
},