Open murdercdh opened 3 years ago
then I debug a litte bit more from source code.
I find the line 274, if the fields is None, the "Parameter" will case the crash. so I change a litte.
if (verbs.parameter &&(verbs.parameter.fields && verbs.parameter.fields.Parameter)) {
but it seems no one can do the code merge job right now?
Did you solve the problem by modifying the source code?
Did you solve the problem by modifying the source code?
yes, I think you can merge that pull request in to you main branch.
Now I can use apidoc to generate the html correctly.
But when I try to use command line to gen the swagger-ui json file like following:
apidoc-swagger -i router/ -o swagger_doc/
then I get the error like this :
'error: Cannot read property 'Parameter' of undefined'
It seems I have to debug from the apidoc-swagger source code?