配置
通用配置
在IDEA中设置
使用项目内配置文件
☆yapi相关配置
postman相关配置
☆yapi mock配置
可用配置规则
module
ignore
json.rule.field.name
json.rule.field.ignore
field.ignore
☆json.rule.convert
json.rule.enum.convert
☆field.doc
method.doc
class.doc
param.doc
param.requierd
param.ignore
param.default.value
param.http.type
param.demo
method.content.type
method.default.http.method
method.additional.header
method.additional.param
field.requierd
☆field.mock
field.mock.resolveProperty
field.default.value
field.demo
api.tag
api.open
api.status
class.is.ctrl
mdoc.class.filter
mdoc.method.path
mdoc.method.http.method
class.prefix.path
constant.field.ignore
☆method.return.main
☆method.return
api.name
folder.name
path.multi
postman.host
postman.prerequest
class.postman.prerequest
collection.postman.prerequest
postman.test
class.postman.test
collection.postman.test
http.call.before
http.call.after
脚本工具
☆it
☆tool
regex
logger
helper
httpClient
localStorage
config
groovy本地扩展
EasyYapi
文档
配置
demo
框架支持
QA
mdoc.method.http.method
设置方法文档(rpc)HTTP请求方式, 默认
POST
修改默认行为
将无参方法设置为
GET
配置如下:
mdoc.method.http.method
=
groovy:it.argCnt()==0?"GET":null
mdoc.method.path
class.prefix.path