operation_description :接口介绍 如下图
operation_id : *** 作方法名如下图
manual_parameters : 修改 Parameters 中参数说明
request_body :post 发送内容 如下图
responses :响应内容 如下图
enum : 定义改字段可选的参数值,默认写第一个。如下图
description : 字段描述
type : 字段需要什么类型的数据
TYPE_OBJECT = "object"
TYPE_STRING = "string"
喊答敏 TYPE_NUMBER = "number"
TYPE_INTEGER = "integer"
TYPE_BOOLEAN = "boolean"
TYPE_ARRAY = "array"
TYPE_FILE = "file"
format : 进行验证的方式
FORMAT_DATE = "date"
FORMAT_DATETIME = "date-time"
举数 FORMAT_PASSWORD = "password"
FORMAT_BINARY = "binary"
FORMAT_BASE64 = "bytes"
FORMAT_FLOAT = "float"
FORMAT_DOUBLE = "double"
FORMAT_INT32 = "郑枝int32"
FORMAT_INT64 = "int64"
FORMAT_EMAIL = "email"
FORMAT_IPV4 = "ipv4"
FORMAT_IPV6 = "ipv6"
FORMAT_URI = "uri"
FORMAT_UUID = "uuid"
FORMAT_SLUG = "slug"
FORMAT_DECIMAL = "decimal"
1.用压缩文件姿耐搭卖打开jar包
2.
将application文件拖拽迹枝春到本地,修改配置文件后覆盖jar包里的application文件即可
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)