写接口api的时候,需要写文档. swagger? 貌似也挺好.不过apidoc也挺好.
$ cnpm install -g apidoc
write apidoc.json in current project dir.
apidoc.
2018-03-13