apidoc注释格式

"jsdocs_extra_tags":
[
"@api {method} path [title]",
"@apiGroup name",
"@apiName name",
"@apiParam [(group)] [{type}] [field=defaultValue] [description]",
"@apiParamExample [{type}] [title] \n *example",
"@apiSuccess [(group)] [{type}] field [description]",
"@apiSuccessExample [{type}] [title] \n *example",
"@apiError [(group)] [{type}] field [description]",
"@apiErrorExample [{type}] [title] \n *example"
],

 

 

https://www.jianshu.com/p/a799c23234b8

posted on 2018-01-31 09:39  小乔流水人家  阅读(198)  评论(0编辑  收藏  举报

导航