mirror of
https://github.com/YMFE/yapi.git
synced 2025-03-31 14:50:26 +08:00
opti: tag of interface could be addAndUpCommonField
This commit is contained in:
parent
cad217be6d
commit
333005c27b
@ -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
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user