opti: tag of interface could be addAndUpCommonField

This commit is contained in:
tangcent 2019-07-15 10:38:42 +08:00
parent cad217be6d
commit 333005c27b

View File

@ -125,7 +125,8 @@ class interfaceController extends baseController {
api_opened: 'boolean',
req_body_is_json_schema: 'string',
res_body_is_json_schema: 'string',
markdown: 'string'
markdown: 'string',
tag: 'array'
};
this.schemaMap = {
@ -148,8 +149,7 @@ class interfaceController extends baseController {
method: minLengthStringField,
catid: 'number',
switch_notice: 'boolean',
message: minLengthStringField,
tag: 'array'
message: minLengthStringField
},
addAndUpCommonField
),