showdoc-auto-api
Advanced tools
+4
-1
@@ -165,3 +165,3 @@ 'use strict'; | ||
| author: [], | ||
| desc: description, | ||
| desc: description || '', | ||
| group: [], | ||
@@ -246,2 +246,5 @@ param: [], | ||
| } | ||
| if(!apiInfo.desc.trim()){ | ||
| throw new Error(filePath + ':' + apiInfo.path[0] + ' 接口描述不能为空'); | ||
| } | ||
| if (apiInfo.group.length === 0) { | ||
@@ -248,0 +251,0 @@ apiInfo.group.push('def'); |
+1
-1
| { | ||
| "name": "showdoc-auto-api", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8778
1.6%267
1.14%