修改swagger解析报错,白名单域名默认为不限制
This commit is contained in:
@@ -62,7 +62,7 @@ function createTreeViewByTag(json, keywords) {
|
||||
* @returns
|
||||
*/
|
||||
function setRequestMethodForTag(rewriteDomainUrl, domain, source, pathObj, url, method) {
|
||||
if (isEmpty(source[method])) {
|
||||
if (isEmpty(source[method]) || !source[method].tags) {
|
||||
return;
|
||||
}
|
||||
source[method].tags.forEach(function(val, index) {
|
||||
|
||||
Reference in New Issue
Block a user