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?