{"swagger":"2.0","info":{"description":"# swagger-bootstrap-ui-demo RESTful APIs","version":"1.0","termsOfService":"http://www.xx.com/","contact":{"name":"xx@qq.com"}},"host":"https://www.baidu.com","basePath":"/","tags":[{"name":"2.0.2版本-20200226","x-order":"2147483647"},{"name":"2.0.3版本-20200312","x-author":"xiaoymin@foxmail.com","x-order":"285"},{"name":"2.0.4版本-20200620","x-author":"xiaoymin@foxmail.com","x-order":"284"},{"name":"2.0.5版本-20200809","x-author":"xiaoymin@foxmail.com","x-order":"283"},{"name":"2.0.6版本-20200919","x-author":"xiaoymin@foxmail.com","x-order":"282"}],"paths":{"/api/nxew202/Knife4jUser":{"post":{"tags":["2.0.2版本-20200226"],"summary":"url-form类型枚举下拉框显示-简单枚举11","operationId":"findAll5UsingPOST","consumes":["application/x-www-form-urlencoded"],"produces":["*/*"],"parameters":[{"name":"id","in":"formData","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"knife4jType","in":"formData","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"name","in":"formData","description":"姓名","required":false,"type":"string","x-example":"ABBB"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«Knife4jUser»","$ref":"#/definitions/Rest«Knife4jUser»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew202/Knife4jUser1":{"post":{"tags":["2.0.2版本-20200226"],"summary":"url-form类型枚举下拉框显示-复杂枚举22","operationId":"findAll6UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"knife4jUTypes","in":"query","description":"用户类型","required":false,"type":"string","enum":["KU_AAA","KU_BBB"]},{"name":"name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«Knife4jUab»","$ref":"#/definitions/Rest«Knife4jUab»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew202/Knife4jUser11":{"post":{"tags":["2.0.2版本-20200226"],"summary":"忽略数组类型的参数","operationId":"findAll16UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"createTimes[0].date","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].day","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].hours","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].minutes","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].month","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].nanos","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].seconds","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].time","in":"query","required":false,"type":"integer","format":"int64"},{"name":"createTimes[0].timezoneOffset","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].year","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«Knife4jTime»","$ref":"#/definitions/Rest«Knife4jTime»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"createTimes[0]":true}],"x-order":"28"}},"/api/nxew202/Knife4jUser12":{"post":{"tags":["2.0.2版本-20200226"],"summary":"忽略数组类型的参数-不忽略","operationId":"findAll18UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"createTimes[0].date","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].day","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].hours","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].minutes","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].month","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].nanos","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].seconds","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].time","in":"query","required":false,"type":"integer","format":"int64"},{"name":"createTimes[0].timezoneOffset","in":"query","required":false,"type":"integer","format":"int32"},{"name":"createTimes[0].year","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«Knife4jTime»","$ref":"#/definitions/Rest«Knife4jTime»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew202/Knife4jUser7":{"post":{"tags":["2.0.2版本-20200226"],"summary":"raw-form类型枚举下拉框显示-复杂枚举","operationId":"findAll7UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"knife4jUTypes","in":"query","description":"用户类型","required":false,"type":"string","enum":["KU_AAA","KU_BBB"]},{"name":"name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"in":"body","name":"knife4jUser","description":"knife4jUser","required":true,"schema":{"originalRef":"Knife4jUser","$ref":"#/definitions/Knife4jUser"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«Knife4jUab»","$ref":"#/definitions/Rest«Knife4jUab»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew202/ex":{"post":{"tags":["2.0.2版本-20200226"],"summary":"忽略参数值-Form类型","operationId":"findAllUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"id","in":"query","description":"主键id","required":true,"type":"integer","format":"int64","x-example":12},{"name":"ids","in":"query","description":"教师 id 列表。","required":true,"type":"array","items":{"type":"integer","format":"int64"},"collectionFormat":"multi"},{"name":"name","in":"query","description":"姓名","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«LongUser»","$ref":"#/definitions/Rest«LongUser»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"ids":true}],"x-order":"33"}},"/api/nxew202/ex1":{"post":{"tags":["2.0.2版本-20200226"],"summary":"忽略参数值-Form类型1","operationId":"findAll12UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"ignoreLabels[0].code","in":"query","description":"编码","required":false,"type":"string","x-example":"10000"},{"name":"ignoreLabels[0].label","in":"query","description":"标签","required":false,"type":"string","x-example":"酒店"},{"name":"longUser.id","in":"query","description":"主键id","required":true,"type":"integer","format":"int64","x-example":12},{"name":"longUser.ids","in":"query","description":"教师 id 列表。","required":true,"type":"array","items":{"type":"integer","format":"int64"},"collectionFormat":"multi"},{"name":"longUser.name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"name","in":"query","description":"姓名a啊","required":false,"type":"string","x-example":"你好"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«IgnoreP1»","$ref":"#/definitions/Rest«IgnoreP1»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"longUser.ids":true,"ignoreLabels":true}],"x-order":"32"}},"/api/nxew202/ex1c":{"post":{"tags":["2.0.2版本-20200226"],"summary":"包含参数值-Form类型1","operationId":"findAllc12UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"ignoreLabels[0].code","in":"query","description":"编码","required":false,"type":"string","x-example":"10000"},{"name":"ignoreLabels[0].label","in":"query","description":"标签","required":false,"type":"string","x-example":"酒店"},{"name":"longUser.id","in":"query","description":"主键id","required":true,"type":"integer","format":"int64","x-example":12},{"name":"longUser.ids","in":"query","description":"教师 id 列表。","required":true,"type":"array","items":{"type":"integer","format":"int64"},"collectionFormat":"multi"},{"name":"longUser.name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"name","in":"query","description":"姓名a啊","required":false,"type":"string","x-example":"你好"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«IgnoreP1»","$ref":"#/definitions/Rest«IgnoreP1»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-includeParameters":[{"longUser.ids":true,"ignoreLabels":true}],"x-order":"40"}},"/api/nxew202/ex2":{"post":{"tags":["2.0.2版本-20200226"],"summary":"忽略参数值-JSON类型","operationId":"findAll1UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"longUser","description":"longUser","required":true,"schema":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«LongUser»","$ref":"#/definitions/Rest«LongUser»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"longUser.ids":true}],"x-order":"31"}},"/api/nxew202/ex3":{"post":{"tags":["2.0.2版本-20200226"],"summary":"忽略参数值-JSON类型1","operationId":"findAll3UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"ignoreP1","description":"ignoreP1","required":true,"schema":{"originalRef":"IgnoreP1","$ref":"#/definitions/IgnoreP1"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«IgnoreP1»","$ref":"#/definitions/Rest«IgnoreP1»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"ignoreP1.longUser.ids":true,"ignoreP1.ignoreLabels[0].code":true}],"x-order":"30"}},"/api/nxew202/ex322":{"post":{"tags":["2.0.2版本-20200226"],"summary":"忽略参数值-JSON类型2","operationId":"findAll3223UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"ignoreP1","description":"ignoreP1","required":true,"schema":{"originalRef":"IgnoreP1","$ref":"#/definitions/IgnoreP1"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«IgnoreP1»","$ref":"#/definitions/Rest«IgnoreP1»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"ignoreP1.ignoreLabels":true,"ignoreP1.longUser.ids":true}],"x-order":"30"}},"/api/nxew202/ex4":{"post":{"tags":["2.0.2版本-20200226"],"summary":"忽略参数值-数组类型","operationId":"findAll4UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"longUsers","description":"longUsers","required":true,"schema":{"type":"array","items":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«List«LongUser»»","$ref":"#/definitions/Rest«List«LongUser»»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"longUsers.ids":true}],"x-order":"29"}},"/api/nxew202/exc2":{"post":{"tags":["2.0.2版本-20200226"],"summary":"包含参数值-JSON类型","operationId":"findAllc1UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"ongUser","description":"ongUser","required":true,"schema":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«LongUser»","$ref":"#/definitions/Rest«LongUser»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-includeParameters":[{"ongUser.ids":true}],"x-order":"41"}},"/api/nxew202/exc3":{"post":{"tags":["2.0.2版本-20200226"],"summary":"包含参数值-JSON类型1","operationId":"findAllc3UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"ignoreP1","description":"ignoreP1","required":true,"schema":{"originalRef":"IgnoreP1","$ref":"#/definitions/IgnoreP1"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«IgnoreP1»","$ref":"#/definitions/Rest«IgnoreP1»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-includeParameters":[{"ignoreP1.longUser.ids":true,"ignoreP1.ignoreLabels.code":true}],"x-order":"42"}},"/api/nxew202/exc323":{"post":{"tags":["2.0.2版本-20200226"],"summary":"包含参数值-JSON类型2","operationId":"findAllc333UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"ignoreP1","description":"ignoreP1","required":true,"schema":{"originalRef":"IgnoreP1","$ref":"#/definitions/IgnoreP1"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«IgnoreP1»","$ref":"#/definitions/Rest«IgnoreP1»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-includeParameters":[{"ignoreP1.longUser":true,"ignoreP1.ignoreLabels.code":true}],"x-order":"43"}},"/api/nxew202/getKdes":{"get":{"tags":["2.0.2版本-20200226"],"summary":"字段太多了属性不显示?","operationId":"getKdesUsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«KDescrption»","$ref":"#/definitions/Rest«KDescrption»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-author":"xiaoymin@foxmail.com","x-order":"2147483647"}},"/api/nxew202/getLoading":{"get":{"tags":["2.0.2版本-20200226"],"summary":"测试Loading效果","operationId":"getLoadingUsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«GetParam»","$ref":"#/definitions/Rest«GetParam»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-author":"xiaoymin@foxmail.com","x-order":"2147483647"}},"/api/nxew202/getParams":{"get":{"tags":["2.0.2版本-20200226"],"summary":"Get无刷新请求","operationId":"getUse1rx1UsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«GetParam»","$ref":"#/definitions/Rest«GetParam»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew202/getParams1":{"get":{"tags":["2.0.2版本-20200226"],"summary":"Get无刷新请求1","operationId":"getUse1rx111UsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«GetParam»","$ref":"#/definitions/Rest«GetParam»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew202/getParams21":{"get":{"tags":["2.0.2版本-20200226"],"summary":"Get无刷新请求1777722222","operationId":"getUse1rx1113UsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«GetParam»","$ref":"#/definitions/Rest«GetParam»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-author":"xiaoymin@foxmail.com","x-order":"2147483647"}},"/api/nxew202/getRealDoc":{"get":{"tags":["2.0.2版本-20200226"],"summary":"写文档注释我是认真的","operationId":"getRealDocUsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«RealDescription»","$ref":"#/definitions/Rest«RealDescription»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-author":"xiaoymin@foxmail.com","x-order":"2147483647"}},"/api/nxew202/getRealDocarr":{"get":{"tags":["2.0.2版本-20200226"],"summary":"写文档注释我是认真的-array","operationId":"getRealDoc1UsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«List«RealDescription»»","$ref":"#/definitions/Rest«List«RealDescription»»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-author":"xiaoymin@foxmail.com","x-order":"2147483647"}},"/api/nxew202/getRealDocarrx":{"get":{"tags":["2.0.2版本-20200226"],"summary":"响应数据太长不换行","operationId":"getRealDoc3UsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«List«RealDescription»»","$ref":"#/definitions/Rest«List«RealDescription»»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-author":"xiaoymin@foxmail.com","x-order":"2147483647"}},"/api/nxew202/getUser":{"get":{"tags":["2.0.2版本-20200226"],"summary":"GET请求参数编码处理","operationId":"getUserUsingGET","produces":["*/*"],"parameters":[{"name":"knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"name","in":"query","description":"姓名","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«GetArray»","$ref":"#/definitions/Rest«GetArray»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew202/getUser1":{"get":{"tags":["2.0.2版本-20200226"],"summary":"GET请求参数编码处理1","operationId":"getUse1rUsingGET","produces":["*/*"],"parameters":[{"name":"knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"name","in":"query","description":"姓名","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«GetArray»","$ref":"#/definitions/Rest«GetArray»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew202/getUser221":{"get":{"tags":["2.0.2版本-20200226"],"summary":"忽略参数","operationId":"getUse1rxUsingGET","produces":["*/*"],"parameters":[{"name":"nodes[0].knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"nodes[0].knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"nodes[0].knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"nodes[0].name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"key","in":"query","required":false,"type":"string"},{"name":"value","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«KDto»","$ref":"#/definitions/Rest«KDto»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"nodes[0]":true}],"x-order":"26"}},"/api/nxew202/getUser22121":{"get":{"tags":["2.0.2版本-20200226"],"summary":"忽略参数1","operationId":"getUse1r13xUsingGET","produces":["*/*"],"parameters":[{"name":"nodes[0].knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"nodes[0].knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"nodes[0].knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"nodes[0].name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"key","in":"query","required":false,"type":"string"},{"name":"value","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«KDto»","$ref":"#/definitions/Rest«KDto»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"nodes[0].name":true}],"x-order":"26"}},"/api/nxew202/getUser221x":{"get":{"tags":["2.0.2版本-20200226"],"summary":"忽略参数xx1-json","operationId":"getUse1rx1UsingGET_1","produces":["*/*"],"parameters":[{"in":"body","name":"kDto","description":"kDto","required":true,"schema":{"originalRef":"KDto","$ref":"#/definitions/KDto"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«KDto»","$ref":"#/definitions/Rest«KDto»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"kDto.nodes":true}],"x-order":"27"}},"/api/nxew202/uploadModel":{"post":{"tags":["2.0.2版本-20200226"],"summary":"formdata上传附带枚举参数","operationId":"uploadModelUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"file","in":"query","description":"上传文件","required":false,"type":"file"},{"name":"knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"name","in":"query","description":"名称","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"RestMessage","$ref":"#/definitions/RestMessage"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew203/download":{"get":{"tags":["2.0.3版本-20200312"],"summary":"下载zip文件","operationId":"downloadZipUsingGET","produces":["application/octet-stream"],"parameters":[{"name":"fileName","in":"query","description":"fileName","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew203/ex":{"get":{"tags":["2.0.3版本-20200312"],"summary":"GET请求参数出现NULL的情况啊","operationId":"findAllUsingGET","produces":["*/*"],"parameters":[{"name":"id","in":"query","description":"主键id","required":true,"type":"integer","format":"int64","x-example":12},{"name":"ids","in":"query","description":"教师 id 列表。","required":true,"type":"array","items":{"type":"integer","format":"int64"},"collectionFormat":"multi"},{"name":"name","in":"query","description":"姓名","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«LongUser»","$ref":"#/definitions/Rest«LongUser»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-author":"张飞","x-ignoreParameters":[{"ids":true}],"x-order":"2147483647"}},"/api/nxew203/getCookie":{"get":{"tags":["2.0.3版本-20200312"],"summary":"获取Cookie","operationId":"getCookieUsingGET","produces":["*/*"],"parameters":[{"name":"Cookie","in":"header","description":"Cookie","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«string»","$ref":"#/definitions/Rest«string»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew203/getOutParams":{"get":{"tags":["2.0.3版本-20200312"],"summary":"多余的参数请求失败","operationId":"getOutParamsUsingGET","produces":["*/*"],"parameters":[{"name":"name","in":"query","description":"name","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«List«string»»","$ref":"#/definitions/Rest«List«string»»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew203/getUse1rxobj":{"get":{"tags":["2.0.3版本-20200312"],"summary":"忽略参数-Object","operationId":"getUse1rxobjUsingGET","consumes":["application/x-www-form-urlencoded;charset=utf-8"],"produces":["*/*"],"parameters":[{"name":"nodes[0].knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"nodes[0].knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"nodes[0].knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"nodes[0].name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"obj.knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"obj.knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"obj.knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"obj.name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"key","in":"query","required":false,"type":"string"},{"name":"value","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«KDtoObject»","$ref":"#/definitions/Rest«KDtoObject»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"nodes[0].knife4jUsers":true}],"x-order":"2147483647"}},"/api/nxew203/getUse1rxobj1":{"get":{"tags":["2.0.3版本-20200312"],"summary":"忽略参数-Object1","operationId":"getUse1s1rxobjUsingGET","consumes":["application/x-www-form-urlencoded;charset=utf-8"],"produces":["*/*"],"parameters":[{"name":"nodes[0].knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"nodes[0].knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"nodes[0].knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"nodes[0].name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"obj.knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"obj.knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"obj.knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"obj.name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"key","in":"query","required":false,"type":"string"},{"name":"objname","in":"query","required":false,"type":"string"},{"name":"value","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«KDtoInfo»","$ref":"#/definitions/Rest«KDtoInfo»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"nodes[0].knife4jUsers":true,"obj":true}],"x-order":"2147483647"}},"/api/nxew203/getUse1rxobj1c":{"get":{"tags":["2.0.3版本-20200312"],"summary":"包含参数-Object1","operationId":"getUse1s1rxobjxUsingGET","consumes":["application/x-www-form-urlencoded;charset=utf-8"],"produces":["*/*"],"parameters":[{"name":"nodes[0].knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"nodes[0].knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"nodes[0].knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"nodes[0].name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"obj.knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"obj.knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"obj.knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"obj.name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"key","in":"query","required":false,"type":"string"},{"name":"objname","in":"query","required":false,"type":"string"},{"name":"value","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«KDtoInfo»","$ref":"#/definitions/Rest«KDtoInfo»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-includeParameters":[{"nodes[0].knife4jUsers":true,"obj":true}],"x-order":"2147483647"}},"/api/nxew203/getUser221":{"get":{"tags":["2.0.3版本-20200312"],"summary":"忽略参数","operationId":"getUse1rxUsingGET_1","consumes":["application/x-www-form-urlencoded"],"produces":["*/*"],"parameters":[{"name":"nodes[0].knife4jUsers[0].id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":12},{"name":"nodes[0].knife4jUsers[0].knife4jType","in":"query","description":"用户类型","required":false,"type":"string","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},{"name":"nodes[0].knife4jUsers[0].name","in":"query","description":"姓名","required":false,"type":"string","x-example":"ABBB"},{"name":"nodes[0].name","in":"query","description":"姓名","required":false,"type":"string"},{"name":"key","in":"query","required":false,"type":"string"},{"name":"value","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«KDto»","$ref":"#/definitions/Rest«KDto»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"nodes[0].knife4jUsers":true}],"x-includeParameters":[{"value":true,"key":true}],"x-order":"2147483647"}},"/api/nxew203/jsonHeader":{"post":{"tags":["2.0.3版本-20200312"],"summary":"测试JSON请求下的全局header参数","description":"see https://gitee.com/xiaoym/knife4j/issues/I1C86F","operationId":"findAlljsonheaderUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"longUser","description":"longUser","required":true,"schema":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«LongUser»","$ref":"#/definitions/Rest«LongUser»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew203/tech":{"post":{"tags":["2.0.3版本-20200312"],"summary":"example属性为长数字时-页面显示为科学计数法","operationId":"techUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"techModel","description":"techModel","required":true,"schema":{"originalRef":"TechModel","$ref":"#/definitions/TechModel"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«TechModel»","$ref":"#/definitions/Rest«TechModel»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-ignoreParameters":[{"techModel.allInfomationWebVo.id":true}],"x-order":"2147483647"}},"/api/nxew203/testupload":{"post":{"tags":["2.0.3版本-20200312"],"summary":"testupload","operationId":"testuploadUsingPOST","consumes":["multipart/form-data"],"produces":["*/*"],"parameters":[{"name":"file","in":"formData","description":"file","required":true,"type":"file"},{"in":"body","name":"uploadBody","description":"uploadBody","required":true,"schema":{"originalRef":"UploadBody","$ref":"#/definitions/UploadBody"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew203/urp":{"post":{"tags":["2.0.3版本-20200312"],"summary":"json请求url携带参数","operationId":"getParamsUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"longUser","description":"longUser","required":true,"schema":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}},{"name":"token","in":"query","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«LongUser»","$ref":"#/definitions/Rest«LongUser»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew203/urp2":{"post":{"tags":["2.0.3版本-20200312"],"summary":"在某些特殊情况下不响应数据或响应text数据-文档显示异常","operationId":"getParam2sUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"name","in":"query","description":"name","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«LongUser»","$ref":"#/definitions/Rest«LongUser»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew203/writeResponseCodeByBusiness":{"get":{"tags":["2.0.3版本-20200312"],"summary":"根据内容响应不同HTTP状态码","description":"1、code为10001时响应404
2、code为10002时状态码为201
3、其他情况状态码为200
4、See https://gitee.com/xiaoym/knife4j/issues/I1BKRH","operationId":"writeResponseCodeByBusinessUsingGET","produces":["*/*"],"parameters":[{"name":"code","in":"query","description":"code","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew203/xml":{"post":{"tags":["2.0.3版本-20200312"],"summary":"XML请求","operationId":"xmlUsingPOST","consumes":["application/xml"],"produces":["application/xml"],"parameters":[{"in":"body","name":"insureXmlReq","description":"insureXmlReq","required":true,"schema":{"originalRef":"InsureXmlReq","$ref":"#/definitions/InsureXmlReq"}}],"responses":{"200":{"description":"OK","schema":{"type":"string"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew204/getInfo":{"get":{"tags":["2.0.4版本-20200620"],"summary":"针对实体类Map字段包含类本身的Value指引","operationId":"getInfoUsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«MapInfo»","$ref":"#/definitions/Rest«MapInfo»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew204/getMapInfo":{"get":{"tags":["2.0.4版本-20200620"],"summary":"针对Map复杂类型的情况无法显示字段","operationId":"getMapInfoUsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«SessionContentResponse»","$ref":"#/definitions/Rest«SessionContentResponse»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew204/writeResponseCodeByBusiness":{"get":{"tags":["2.0.4版本-20200620"],"summary":"根据内容响应不同HTTP状态码以及ContentType","description":"1、code为10001时响应404
2、code为10002时状态码为201
3、其他情况状态码为200
4、See https://gitee.com/xiaoym/knife4j/issues/I1BKRH","operationId":"writeResponseCodeByBusinessUsingGET_1","produces":["*/*"],"parameters":[{"name":"code","in":"query","description":"code","required":true,"type":"string"}],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/codes":{"post":{"tags":["2.0.5版本-20200809"],"summary":"curl为空的问题","operationId":"codesUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"code","in":"query","description":"code","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«string»","$ref":"#/definitions/Rest«string»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/description":{"get":{"tags":["2.0.5版本-20200809"],"summary":"描述支持markdown","description":"# 访问此接口返回Hello语句
## 二级标题 你好Markdown`markdown`是一个不错的","operationId":"getInfoUsingGET_1","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«MapInfo»","$ref":"#/definitions/Rest«MapInfo»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/description1":{"get":{"tags":["2.0.5版本-20200809"],"summary":"描述支持markdown","description":"# 一、前言\n\nv2.0 搜索组件渲染接口\n\n\n\n# 二、请求参数\n\n- searchCode:搜索编码,后端定义,每个页面固定使用\n\n\n\n# 三、返回参数\n\n返回参数:JSON\n\n```json\n{\n\t\"data\": {\n\t\t\"children\": {},\n\t\t\"id\": 0,\n\t\t\"name\": \"\"\n\t},\n\t\"errCode\": 0,\n\t\"message\": \"\",\n\t\"success\": true\n}\n```\n\n","operationId":"getInfo1UsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«MapInfo»","$ref":"#/definitions/Rest«MapInfo»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/downloadFile":{"post":{"tags":["2.0.5版本-20200809"],"summary":"POST请求下载文件","operationId":"postRequest2UsingPOST","consumes":["application/json"],"produces":["application/octet-stream"],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"1"}},"/api/nxew205/downloadJsonFile2":{"post":{"tags":["2.0.5版本-20200809"],"summary":"POST请求下载文件-Excel","operationId":"postRequest3UsingPOST","consumes":["application/json"],"produces":["application/octet-stream"],"parameters":[{"in":"body","name":"longUser","description":"longUser","required":true,"schema":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"1"}},"/api/nxew205/downloadTextFile":{"post":{"tags":["2.0.5版本-20200809"],"summary":"POST请求下载文件-JSON请求-Text","operationId":"postRequest2jsonUsingPOST","consumes":["application/json"],"produces":["application/octet-stream"],"parameters":[{"in":"body","name":"longUser","description":"longUser","required":true,"schema":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}}],"responses":{"200":{"description":"OK"},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"1"}},"/api/nxew205/findAll":{"post":{"tags":["2.0.5版本-20200809"],"summary":"大数据响应接口-渲染很慢","operationId":"findAllUsingPOST_1","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"size","in":"query","description":"size","required":false,"type":"integer","default":1000,"format":"int32"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«List«ModelMoreField»»","$ref":"#/definitions/Rest«List«ModelMoreField»»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/po1":{"post":{"tags":["2.0.5版本-20200809"],"summary":"json-consumes","operationId":"po1UsingPOST","consumes":["application/json"],"produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«string»","$ref":"#/definitions/Rest«string»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqArr":{"post":{"tags":["2.0.5版本-20200809"],"summary":"字符串数组","operationId":"reqArrUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"goodsString","in":"query","description":"货物StrArr","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"storeId","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«RequestArr»","$ref":"#/definitions/Rest«RequestArr»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqEnumArr":{"post":{"tags":["2.0.5版本-20200809"],"summary":"枚举多选","operationId":"reqEnumArrUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"errorCodes","in":"query","description":"枚举类型","required":false,"type":"array","items":{"type":"string","enum":["SUCCESS","FAIL"]},"collectionFormat":"multi","enum":["SUCCESS","FAIL"]},{"name":"name","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«RequestEnumArr»","$ref":"#/definitions/Rest«RequestEnumArr»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqEnumArr1":{"get":{"tags":["2.0.5版本-20200809"],"summary":"枚举多选-GET请求","operationId":"reqEnumArrGetUsingGET","produces":["*/*"],"parameters":[{"name":"errorCodes","in":"query","description":"枚举类型","required":false,"type":"array","items":{"type":"string","enum":["SUCCESS","FAIL"]},"collectionFormat":"multi","enum":["SUCCESS","FAIL"]},{"name":"name","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«RequestEnumArr»","$ref":"#/definitions/Rest«RequestEnumArr»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqEnumArrEmpty":{"post":{"tags":["2.0.5版本-20200809"],"summary":"POST空请求","operationId":"reqEnumArrEmptyUsingPOST","consumes":["application/json"],"produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«string»","$ref":"#/definitions/Rest«string»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqGetArr1":{"get":{"tags":["2.0.5版本-20200809"],"summary":"GET请求数组请求","operationId":"reqGetArr1UsingGET","produces":["*/*"],"parameters":[{"name":"ids","in":"query","description":"id集合","required":false,"type":"array","items":{"type":"integer","format":"int32"},"collectionFormat":"multi"},{"name":"names","in":"query","description":"名称集合","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«RequestGetArr»","$ref":"#/definitions/Rest«RequestGetArr»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqGetArr2":{"get":{"tags":["2.0.5版本-20200809"],"summary":"GET请求数组请求2","operationId":"reqGetArr2UsingGET","produces":["*/*"],"parameters":[{"name":"codes","in":"query","description":"codes","required":true,"type":"array","items":{"type":"string"},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«string»","$ref":"#/definitions/Rest«string»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqJson":{"post":{"tags":["2.0.5版本-20200809"],"summary":"服务端指定consumes","operationId":"reqJsonUsingPOST","consumes":["application/json;charset=UTF-8"],"produces":["*/*"],"parameters":[{"in":"body","name":"longUser","description":"longUser","required":true,"schema":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«LongUser»","$ref":"#/definitions/Rest«LongUser»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqLong":{"get":{"tags":["2.0.5版本-20200809"],"summary":"长精度丢失的问题","operationId":"reqLongRestUsingGET","produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«ReqLong»","$ref":"#/definitions/Rest«ReqLong»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqLong1":{"post":{"tags":["2.0.5版本-20200809"],"summary":"请求参数说明显示默认值","operationId":"reqLongRest1UsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"reqLong","description":"reqLong","required":true,"schema":{"originalRef":"ReqLong","$ref":"#/definitions/ReqLong"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«ReqLong»","$ref":"#/definitions/Rest«ReqLong»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqLong1222":{"get":{"tags":["2.0.5版本-20200809"],"summary":"请求参数说明显示默认值1222","operationId":"reqLongRest22221UsingGET","produces":["*/*"],"parameters":[{"in":"body","name":"reqLong","description":"reqLong","required":true,"schema":{"originalRef":"ReqLong","$ref":"#/definitions/ReqLong"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«ReqLong»","$ref":"#/definitions/Rest«ReqLong»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/reqLong2":{"get":{"tags":["2.0.5版本-20200809"],"summary":"请求参数说明显示默认值2","operationId":"reqLongRest2UsingGET","produces":["*/*"],"parameters":[{"name":"name","in":"query","description":"名称","required":false,"type":"string","x-example":"AAAAAAAAAAAAAAAA"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«ReqLong»","$ref":"#/definitions/Rest«ReqLong»"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew205/respToMap":{"post":{"tags":["2.0.5版本-20200809"],"summary":"返回实体类集成HashMap","operationId":"respToMapUsingPOST","consumes":["application/json"],"produces":["*/*"],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«ResponseToMap»","$ref":"#/definitions/Rest«ResponseToMap»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2147483647"}},"/api/nxew206/dynamicMap":{"post":{"tags":["2.0.6版本-20200919"],"summary":"测试增强注解丢失","operationId":"dynamicMapUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"id","in":"query","description":"主键id","required":false,"type":"integer","format":"int64","x-example":1293385365155090452},{"name":"label","in":"query","description":"标签","required":false,"type":"string","x-example":"200"},{"name":"name","in":"query","description":"奖金名称","required":false,"type":"string","x-example":"MVP奖杯"}],"responses":{"200":{"description":"OK","schema":{"originalRef":"DynamicMapResponse","$ref":"#/definitions/DynamicMapResponse"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-author":"张三","x-ignoreParameters":[{"name":true}],"x-order":"6"}},"/api/nxew206/req":{"post":{"tags":["2.0.6版本-20200919"],"summary":"多层DTO请求参数属性丢失","description":"[https://gitee.com/xiaoym/knife4j/issues/I1WQ0M](https://gitee.com/xiaoym/knife4j/issues/I1WQ0M)","operationId":"reqUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"requestDTO","description":"requestDTO","required":true,"schema":{"originalRef":"RequestDTO","$ref":"#/definitions/RequestDTO"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«RequestDTO»","$ref":"#/definitions/Rest«RequestDTO»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"3"}},"/api/nxew206/reqJsont":{"post":{"tags":["2.0.6版本-20200919"],"summary":"请求实体example是json","description":"[https://github.com/xiaoymin/swagger-bootstrap-ui/issues/233](https://github.com/xiaoymin/swagger-bootstrap-ui/issues/233)","operationId":"reqjsonexmpUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"reqModelJson","description":"reqModelJson","required":true,"schema":{"originalRef":"ReqModelJson","$ref":"#/definitions/ReqModelJson"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«ReqModelJson»","$ref":"#/definitions/Rest«ReqModelJson»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"4"}},"/api/nxew206/reqJsontb":{"post":{"tags":["2.0.6版本-20200919"],"summary":"请求实体精度丢失","description":"[https://github.com/xiaoymin/swagger-bootstrap-ui/issues/269](https://github.com/xiaoymin/swagger-bootstrap-ui/issues/269)","operationId":"reqJsontbUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"reqModelJson","description":"reqModelJson","required":true,"schema":{"originalRef":"ReqModelBigDecimal","$ref":"#/definitions/ReqModelBigDecimal"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«ReqModelBigDecimal»","$ref":"#/definitions/Rest«ReqModelBigDecimal»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"5"}},"/api/nxew206/reqbody":{"post":{"tags":["2.0.6版本-20200919"],"summary":"body+parameter类型","operationId":"reqJsonUsingPOST_1","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"code","in":"query","description":"code","required":false,"type":"string"},{"in":"body","name":"longUser","description":"longUser","required":true,"schema":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«LongUser»","$ref":"#/definitions/Rest«LongUser»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-author":"八一菜刀","x-order":"1"}},"/api/nxew206/reqbodyarry":{"post":{"tags":["2.0.6版本-20200919"],"summary":"body+parameter类型-arry","operationId":"reqJsoarrynUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"code","in":"query","description":"code","required":false,"type":"string"},{"in":"body","name":"longUsers","description":"longUsers","required":true,"schema":{"type":"array","items":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}}}],"responses":{"200":{"description":"OK","schema":{"originalRef":"Rest«List«LongUser»»","$ref":"#/definitions/Rest«List«LongUser»»"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"security":[{"BearerToken":["global"]}],"deprecated":false,"x-order":"2"}}},"securityDefinitions":{"BearerToken":{"type":"apiKey","name":"Authorization","in":"header"}},"definitions":{"ClientDTO":{"type":"object","properties":{"accountNo":{"type":"string","description":"账号"}},"title":"ClientDTO"},"DynamicMapResponse":{"type":"object","properties":{"number":{"type":"string","example":123,"description":"数值"}},"title":"DynamicMapResponse"},"GetArray":{"type":"object","properties":{"knife4jUsers":{"type":"array","description":"用户","items":{"originalRef":"Knife4jUser","$ref":"#/definitions/Knife4jUser"}},"name":{"type":"string","description":"姓名"}},"title":"GetArray"},"GetParam":{"type":"object","properties":{"data":{"type":"string"},"timestamp":{"type":"integer","format":"int64"}},"title":"GetParam"},"IgnoreLabel":{"type":"object","properties":{"code":{"type":"string","example":10000,"description":"编码"},"label":{"type":"string","example":"酒店","description":"标签"}},"title":"IgnoreLabel"},"IgnoreP1":{"type":"object","properties":{"ignoreLabels":{"type":"array","description":"标签集合","items":{"originalRef":"IgnoreLabel","$ref":"#/definitions/IgnoreLabel"}},"longUser":{"description":"用户列表","originalRef":"LongUser","$ref":"#/definitions/LongUser"},"name":{"type":"string","example":"你好","description":"姓名a啊"}},"title":"IgnoreP1"},"InsureBody":{"type":"object","properties":{"appCode":{"type":"string","example":"AC00001"},"reason":{"type":"string","example":"你是个好人"},"type":{"type":"string","example":2}},"title":"InsureBody"},"InsureHead":{"type":"object","properties":{"serialNo":{"type":"string","example":"A00001"}},"title":"InsureHead"},"InsureXmlReq":{"type":"object","properties":{"body":{"xml":{"name":"Body","attribute":false,"wrapped":false},"description":"主信息","originalRef":"InsureBody","$ref":"#/definitions/InsureBody"},"head":{"xml":{"name":"Head","attribute":false,"wrapped":false},"description":"头信息","originalRef":"InsureHead","$ref":"#/definitions/InsureHead"}},"title":"InsureXmlReq","xml":{"name":"MESSAGE","attribute":false,"wrapped":false}},"KCollectionInfo":{"type":"object","properties":{"compareCols":{"type":"array","description":"让对项","items":{"originalRef":"KCompareCol","$ref":"#/definitions/KCompareCol"}},"kEndCols":{"type":"array","description":"结束","items":{"originalRef":"KEndCol","$ref":"#/definitions/KEndCol"}},"kStartCols":{"type":"array","description":"开始","items":{"originalRef":"KStartCol","$ref":"#/definitions/KStartCol"}}},"title":"KCollectionInfo"},"KCompareCol":{"type":"object","properties":{"id":{"type":"string","description":"主键"},"name":{"type":"string","description":"名称"},"seq":{"type":"string","description":"序列"},"templateId":{"type":"string","description":"模板id"}},"title":"KCompareCol"},"KDescrption":{"type":"object","properties":{"code":{"type":"string","description":"响应结果码"},"info":{"description":"返回信息","originalRef":"KInfo","$ref":"#/definitions/KInfo"}},"title":"KDescrption"},"KDto":{"type":"object","properties":{"key":{"type":"string"},"nodes":{"type":"array","items":{"originalRef":"GetArray","$ref":"#/definitions/GetArray"}},"value":{"type":"string"}},"title":"KDto"},"KDtoInfo":{"type":"object","properties":{"key":{"type":"string"},"nodes":{"type":"array","items":{"originalRef":"GetArray","$ref":"#/definitions/GetArray"}},"obj":{"originalRef":"GetArray","$ref":"#/definitions/GetArray"},"objname":{"type":"string"},"value":{"type":"string"}},"title":"KDtoInfo"},"KDtoObject":{"type":"object","properties":{"key":{"type":"string"},"nodes":{"type":"array","items":{"originalRef":"GetArray","$ref":"#/definitions/GetArray"}},"obj":{"originalRef":"GetArray","$ref":"#/definitions/GetArray"},"value":{"type":"string"}},"title":"KDtoObject"},"KEndCol":{"type":"object","properties":{"col":{"type":"string","description":"是是是"},"id":{"type":"string","description":"主键"},"name":{"type":"string","description":"名称"},"seq":{"type":"string","description":"序列"},"templateId":{"type":"string","description":"模板id"}},"title":"KEndCol"},"KInfo":{"type":"object","properties":{"checkTplField":{"type":"string","description":"模板校验字段,如需多个字段配置多个规则来实现"},"checkType":{"type":"string","description":"检查类型"},"kCollectionInfo":{"description":"视图模板","originalRef":"KCollectionInfo","$ref":"#/definitions/KCollectionInfo"}},"title":"KInfo"},"KStartCol":{"type":"object","properties":{"col":{"type":"string","description":"是是是"},"id":{"type":"string","description":"主键"},"name":{"type":"string","description":"名称"},"seq":{"type":"string","description":"序列"},"start":{"type":"string","format":"date-time","description":"开始时间"},"templateId":{"type":"string","description":"模板id"}},"title":"KStartCol"},"Knife4jTime":{"type":"object","properties":{"createTimes":{"type":"array","description":"创建时间","items":{"originalRef":"Timestamp","$ref":"#/definitions/Timestamp"}},"id":{"type":"integer","format":"int64","example":12,"description":"主键id"},"name":{"type":"string","example":"ABBB","description":"姓名"}},"title":"Knife4jTime"},"Knife4jUab":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":12,"description":"主键id"},"knife4jUTypes":{"type":"string","description":"用户类型","enum":["KU_AAA","KU_BBB"]},"name":{"type":"string","example":"ABBB","description":"姓名"}},"title":"Knife4jUab"},"Knife4jUser":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":12,"description":"主键id"},"knife4jType":{"type":"string","description":"用户类型","enum":["ADMIN","SUPER_ADMIN","TEST_ADMIN"]},"name":{"type":"string","example":"ABBB","description":"姓名"}},"title":"Knife4jUser"},"LongUser":{"type":"object","required":["id","ids"],"properties":{"id":{"type":"integer","format":"int64","example":12,"description":"主键id"},"ids":{"type":"array","description":"教师 id 列表。","items":{"type":"integer","format":"int64"}},"name":{"type":"string","description":"姓名"}},"title":"LongUser"},"MapInfo":{"type":"object","properties":{"children":{"type":"object","description":"子属性","additionalProperties":{"originalRef":"MapInfo","$ref":"#/definitions/MapInfo"}},"id":{"type":"integer","format":"int32","description":"主键id"},"name":{"type":"string","description":"名称"}},"title":"MapInfo"},"Map«long,List«UserMessageRecordVO»»":{"type":"object","title":"Map«long,List«UserMessageRecordVO»»","additionalProperties":{"originalRef":"List","$ref":"#/definitions/List"}},"Map«string,string»":{"type":"object","title":"Map«string,string»","additionalProperties":{"type":"string"}},"ModelMoreField":{"type":"object","properties":{"address":{"type":"string","description":"居住地址"},"age":{"type":"integer","format":"int32","description":"年龄"},"aname":{"type":"string","description":"姓名-昵称啦"},"company":{"type":"string","description":"任职单位"},"des":{"type":"string","description":"描述信息"},"email":{"type":"string","example":"zhangsan@qq.com","description":"邮箱地址"},"jobs":{"type":"array","items":{"type":"string"}},"joinTime":{"type":"string","format":"date-time","description":"参加工作时间"},"name":{"type":"string","example":"张三","description":"姓名","readOnly":true},"nickName":{"type":"string","description":"昵称"},"tel":{"type":"string","example":1388888888,"description":"联系方式"},"worker":{"type":"string","description":"工作性质"}},"title":"ModelMoreField"},"ModelNumberInvalid":{"type":"object","properties":{"phone":{"type":"string","example":15952081586,"description":"手机号码","pattern":"\\d{11}"}},"title":"ModelNumberInvalid"},"PartyDTO":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"张飞","description":"名称"}},"title":"PartyDTO"},"RealDescription":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":12,"description":"主键id"},"id1":{"type":"integer","format":"int64","example":12,"description":"主键id1"},"id2":{"type":"integer","format":"int64","example":12,"description":"主键id2"},"id3":{"type":"integer","format":"int64","example":12,"description":"主键id3"},"name":{"type":"string","example":"ABBB","description":"姓名"},"name1":{"type":"string","example":"ABBB","description":"姓名1"},"name2":{"type":"string","example":"ABBB","description":"姓名2"},"name3":{"type":"string","example":"ABBB","description":"姓名3"}},"title":"RealDescription"},"ReqLong":{"type":"object","properties":{"name":{"type":"string","example":"测试","description":"名称"},"value":{"type":"integer","format":"int64","example":1293385365155090452,"description":"主键id"}},"title":"ReqLong"},"ReqModelBigDecimal":{"type":"object","properties":{"id":{"type":"integer","format":"int64","example":1293385365155090452,"description":"主键id"},"label":{"type":"string","example":200,"description":"标签"},"name":{"type":"string","example":"MVP奖杯","description":"奖金名称"}},"title":"ReqModelBigDecimal"},"ReqModelJson":{"type":"object","properties":{"label":{"type":"string","example":200,"description":"标签"},"name":{"type":"string","example":"MVP奖杯","description":"奖金名称"},"value":{"type":"string","example":{"第一名":1000,"第二名":2000},"description":"奖金值"}},"title":"ReqModelJson"},"RequestAllDTO":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"刘备","description":"T-名称"},"partyDTO":{"description":"测试1","originalRef":"PartyDTO","$ref":"#/definitions/PartyDTO"},"partyDTO2":{"description":"测试2","originalRef":"PartyDTO","$ref":"#/definitions/PartyDTO"},"partyDTO3":{"description":"测试3","originalRef":"PartyDTO","$ref":"#/definitions/PartyDTO"},"partyDTO4":{"description":"测试4","originalRef":"PartyDTO","$ref":"#/definitions/PartyDTO"}},"title":"RequestAllDTO"},"RequestArr":{"type":"object","properties":{"goodsString":{"type":"array","description":"货物StrArr","items":{"type":"string"}},"storeId":{"type":"integer","format":"int32"}},"title":"RequestArr"},"RequestDTO":{"type":"object","properties":{"clientDTO":{"description":"明细","originalRef":"ClientDTO","$ref":"#/definitions/ClientDTO"},"requestAllDTO":{"description":"body","originalRef":"RequestAllDTO","$ref":"#/definitions/RequestAllDTO"}},"title":"RequestDTO"},"RequestEnumArr":{"type":"object","properties":{"errorCodes":{"type":"array","description":"枚举类型","items":{"type":"string","enum":["SUCCESS","FAIL"]}},"name":{"type":"string"}},"title":"RequestEnumArr"},"RequestGetArr":{"type":"object","properties":{"ids":{"type":"array","description":"id集合","items":{"type":"integer","format":"int32"}},"names":{"type":"array","description":"名称集合","items":{"type":"string"}}},"title":"RequestGetArr"},"ResponseToMap":{"type":"object","title":"ResponseToMap","additionalProperties":{"type":"object"}},"RestMessage":{"type":"object","properties":{"data":{"type":"object","description":"返回对象"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"RestMessage","description":"返回接口类"},"Rest«GetArray»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"GetArray","$ref":"#/definitions/GetArray"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«GetArray»"},"Rest«GetParam»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"GetParam","$ref":"#/definitions/GetParam"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«GetParam»"},"Rest«IgnoreP1»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"IgnoreP1","$ref":"#/definitions/IgnoreP1"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«IgnoreP1»"},"Rest«KDescrption»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"KDescrption","$ref":"#/definitions/KDescrption"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«KDescrption»"},"Rest«KDtoInfo»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"KDtoInfo","$ref":"#/definitions/KDtoInfo"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«KDtoInfo»"},"Rest«KDtoObject»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"KDtoObject","$ref":"#/definitions/KDtoObject"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«KDtoObject»"},"Rest«KDto»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"KDto","$ref":"#/definitions/KDto"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«KDto»"},"Rest«Knife4jTime»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"Knife4jTime","$ref":"#/definitions/Knife4jTime"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«Knife4jTime»"},"Rest«Knife4jUab»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"Knife4jUab","$ref":"#/definitions/Knife4jUab"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«Knife4jUab»"},"Rest«Knife4jUser»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"Knife4jUser","$ref":"#/definitions/Knife4jUser"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«Knife4jUser»"},"Rest«List«LongUser»»":{"type":"object","properties":{"data":{"type":"array","description":"返回对象","items":{"originalRef":"LongUser","$ref":"#/definitions/LongUser"}},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«List«LongUser»»"},"Rest«List«ModelMoreField»»":{"type":"object","properties":{"data":{"type":"array","description":"返回对象","items":{"originalRef":"ModelMoreField","$ref":"#/definitions/ModelMoreField"}},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«List«ModelMoreField»»"},"Rest«List«RealDescription»»":{"type":"object","properties":{"data":{"type":"array","description":"返回对象","items":{"originalRef":"RealDescription","$ref":"#/definitions/RealDescription"}},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«List«RealDescription»»"},"Rest«List«string»»":{"type":"object","properties":{"data":{"type":"array","description":"返回对象","items":{"type":"string"}},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«List«string»»"},"Rest«LongUser»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"LongUser","$ref":"#/definitions/LongUser"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«LongUser»"},"Rest«MapInfo»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"MapInfo","$ref":"#/definitions/MapInfo"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«MapInfo»"},"Rest«Map«string,string»»":{"type":"object","properties":{"data":{"type":"object","description":"返回对象","additionalProperties":{"type":"string"}},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«Map«string,string»»"},"Rest«RealDescription»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"RealDescription","$ref":"#/definitions/RealDescription"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«RealDescription»"},"Rest«ReqLong»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"ReqLong","$ref":"#/definitions/ReqLong"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«ReqLong»"},"Rest«ReqModelBigDecimal»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"ReqModelBigDecimal","$ref":"#/definitions/ReqModelBigDecimal"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«ReqModelBigDecimal»"},"Rest«ReqModelJson»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"ReqModelJson","$ref":"#/definitions/ReqModelJson"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«ReqModelJson»"},"Rest«RequestArr»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"RequestArr","$ref":"#/definitions/RequestArr"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«RequestArr»"},"Rest«RequestDTO»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"RequestDTO","$ref":"#/definitions/RequestDTO"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«RequestDTO»"},"Rest«RequestEnumArr»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"RequestEnumArr","$ref":"#/definitions/RequestEnumArr"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«RequestEnumArr»"},"Rest«RequestGetArr»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"RequestGetArr","$ref":"#/definitions/RequestGetArr"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«RequestGetArr»"},"Rest«ResponseToMap»":{"type":"object","properties":{"data":{"type":"object","description":"返回对象","additionalProperties":{"type":"object"}},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«ResponseToMap»"},"Rest«SessionContentResponse»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"SessionContentResponse","$ref":"#/definitions/SessionContentResponse"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«SessionContentResponse»"},"Rest«TechModel»":{"type":"object","properties":{"data":{"description":"返回对象","originalRef":"TechModel","$ref":"#/definitions/TechModel"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«TechModel»"},"Rest«string»":{"type":"object","properties":{"data":{"type":"string","description":"返回对象"},"errCode":{"type":"integer","format":"int32","description":"错误编号"},"message":{"type":"string","description":"错误信息"},"success":{"type":"boolean","description":"是否成功"}},"title":"Rest«string»"},"SessionContentResponse":{"type":"object","properties":{"msgList":{"type":"object","description":"快显消息列表 数据结构是Map>> 的格式;第一层Map,用于区分发信和收信,Key为‘to’(发信),‘from’(收信)第二层Map Key是消息ID,Value是对应消息最内层List 是该条消息的不同收件人和消息内容","additionalProperties":{"type":"object","additionalProperties":{"type":"array","items":{"originalRef":"UserMessageRecordVO","$ref":"#/definitions/UserMessageRecordVO"}}}},"respTime":{"type":"string","description":"时间"}},"title":"SessionContentResponse"},"TechModel":{"type":"object","properties":{"accountDetail":{"originalRef":"对账明细返回参数","$ref":"#/definitions/对账明细返回参数"},"age":{"type":"string","example":4401140001002000000000000005342},"allInfomationWebVo":{"originalRef":"网站端-所有推送信息展示类","$ref":"#/definitions/网站端-所有推送信息展示类"},"allInfomationWebVo1":{"originalRef":"网站端-所有推送信息展示类1","$ref":"#/definitions/网站端-所有推送信息展示类1"},"modelNumberInvalid":{"originalRef":"ModelNumberInvalid","$ref":"#/definitions/ModelNumberInvalid"},"name":{"type":"string","example":"张飞"},"taskOrEventWebVo":{"originalRef":"网站端-任务时间展示类","$ref":"#/definitions/网站端-任务时间展示类"}},"title":"TechModel"},"Timestamp":{"type":"object","properties":{"date":{"type":"integer","format":"int32"},"day":{"type":"integer","format":"int32"},"hours":{"type":"integer","format":"int32"},"minutes":{"type":"integer","format":"int32"},"month":{"type":"integer","format":"int32"},"nanos":{"type":"integer","format":"int32"},"seconds":{"type":"integer","format":"int32"},"time":{"type":"integer","format":"int64"},"timezoneOffset":{"type":"integer","format":"int32"},"year":{"type":"integer","format":"int32"}},"title":"Timestamp"},"UploadBody":{"type":"object","properties":{"name":{"type":"string"}},"title":"UploadBody"},"UserMessageRecordVO":{"type":"object","properties":{"description":{"type":"string","description":"描述"},"title":{"type":"string","description":"标题"}},"title":"UserMessageRecordVO"},"对账明细返回参数":{"type":"object","properties":{"amount":{"type":"number","description":"金额"}},"title":"对账明细返回参数"},"网站端-任务时间展示类":{"type":"object","properties":{"detailsId":{"type":"integer","format":"int64","description":"任务或者事件ID"},"id":{"type":"integer","format":"int64","description":"主键id"},"lat":{"type":"number","description":"纬度"},"lng":{"type":"number","description":"经度"}},"title":"网站端-任务时间展示类"},"网站端-所有推送信息展示类":{"type":"object","properties":{"id":{"type":"string","description":"主键编号"},"longUser":{"description":"用户","originalRef":"LongUser","$ref":"#/definitions/LongUser"},"taskOrEventWebVo":{"description":"事件","originalRef":"网站端-任务时间展示类","$ref":"#/definitions/网站端-任务时间展示类"}},"title":"网站端-所有推送信息展示类"},"网站端-所有推送信息展示类1":{"type":"object","properties":{"id":{"type":"string","description":"主键编号"},"longUser":{"description":"用户","originalRef":"LongUser","$ref":"#/definitions/LongUser"},"taskOrEventWebVo":{"description":"事件","originalRef":"网站端-任务时间展示类","$ref":"#/definitions/网站端-任务时间展示类"},"taskWebVo":{"description":"任务","originalRef":"网站端-任务时间展示类","$ref":"#/definitions/网站端-任务时间展示类"}},"title":"网站端-所有推送信息展示类1"}},"x-openapi":{"x-markdownFiles":[{"name":"接口签名","children":[{"title":"POST请求签名说明","content":"# POST请求签名说明\r\n\r\nPOST---knife4j为了满足文档的个性化配置,添加了自定义文档功能\r\n\r\n开发者可自定义md文件扩展补充整个系统的文档说明\r\n\r\n开发者可以在当前项目中添加一个文件夹,文件夹中存放.md格式的markdown文件,每个.md文档代表一份自定义文档说明\r\n\r\n注意:自定义文档说明必须以.md结尾的文件,其他格式文件会被忽略\r\n\r\n例如项目结构如下:"}]},{"name":"另外文档分组请看这里","children":[{"title":"自定义文档说明2","content":"# 自定义文档说明2\r\n\r\n## 效果说明\r\n\r\n在`1.9.3`版本中,`swagger-bootstrap-ui`为了满足文档的个性化配置,添加了自定义文档功能\r\n\r\n开发者可自定义`md`文件扩展补充整个系统的文档说明\r\n\r\n开发者可以在当前项目中添加一个文件夹,文件夹中存放`.md`格式的markdown文件,每个`.md`文档代表一份自定义文档说明\r\n\r\n**注意**:自定义文档说明必须以`.md`结尾的文件,其他格式文件会被忽略\r\n\r\n例如项目结构如下:\r\n\r\n![](/images/1-9-3/construct.png)\r\n\r\n每个`.md`文件中,`swagger-bootstrap-ui`允许一级(h1)、二级(h2)、三级(h3)标题作为最终的文档标题\r\n\r\n比如`api.md`文档:\r\n\r\n```markdown\r\n## 获取用户列表\r\n\r\naccess_token是公众号的全局唯一接口调用凭据,公众号调用各接口时都需使用access_token。开发者需要进行妥善保存。access_token的存储至少要保留512个字符空间。access_token的有效期目前为2个小时,需定时刷新,重复获取将导致上次获取的access_token失效\r\n\r\n```\r\n\r\n最终在`swagger-bootstrap-ui`的界面中,`api.md`的文档标题会是`获取用户列表`\r\n\r\n整个文档效果如下:\r\n\r\n![](/images/1-9-3/ef.png)\r\n\r\n如果没有按照一级(h1)、二级(h2)、三级(h3)来设置标题,默认标题会是文件名称,如图上的`api2.md`\r\n\r\n## 如何使用\r\n\r\n### Spring Boot环境\r\n\r\n在SpringBoot环境中,首先需要在`application.yml`或者`application.properties`配置文件中配置自定义文档目录\r\n\r\n如下:\r\n\r\n```yml\r\nswagger:\r\n markdowns: classpath:markdown/*\r\n```\r\n\r\n然后在Swagger的配置文件中启用`@EnableSwaggerBootstrapUi`注解\r\n\r\n如下代码:\r\n\r\n```java\r\n@Configuration\r\n@EnableSwagger2\r\n@EnableSwaggerBootstrapUI\r\npublic class SwaggerConfiguration {\r\n //more...\r\n \r\n}\r\n```\r\n\r\n除了在后端开启注解功能,在`doc.html`中,个性化配置里面还需要设置开启增强功能\r\n\r\n![](/images/1-9-3/en-fun.png)\r\n\r\n当然,在确保后端增强无误的情况下,你可以直接使用快速访问设置功能来直接启用增强\r\n\r\n地址输入:`http://127.0.0.1:8888/doc.html?plus=1`\r\n\r\n\r\n\r\n### Spring MVC环境\r\n\r\n在Spring MVC环境中,首先引入swagger-bootstrap-ui的jar包文件\r\n\r\n```xml\r\n\r\n com.github.xiaoymin\r\n swagger-bootstrap-ui\r\n 1.9.3\r\n\r\n```\r\n然后,需要在Spring的XML配置文件中注入`MarkdownFiles`类的实例bean\r\n\r\n如下:\r\n\r\n```xml\r\n\r\n\r\n \r\n\r\n```\r\n\r\n其他例如开启增强等操作和Spring Boot环境无异,打开doc.html即可访问看到效果"},{"title":"自定义文档说明1","content":"# 自定义文档说明1\r\n\r\n## 效果说明\r\n\r\n在`1.9.3`版本中,`swagger-bootstrap-ui`为了满足文档的个性化配置,添加了自定义文档功能\r\n\r\n开发者可自定义`md`文件扩展补充整个系统的文档说明\r\n\r\n开发者可以在当前项目中添加一个文件夹,文件夹中存放`.md`格式的markdown文件,每个`.md`文档代表一份自定义文档说明\r\n\r\n**注意**:自定义文档说明必须以`.md`结尾的文件,其他格式文件会被忽略\r\n\r\n例如项目结构如下:\r\n\r\n![](/images/1-9-3/construct.png)\r\n\r\n每个`.md`文件中,`swagger-bootstrap-ui`允许一级(h1)、二级(h2)、三级(h3)标题作为最终的文档标题\r\n\r\n比如`api.md`文档:\r\n\r\n```markdown\r\n## 获取用户列表\r\n\r\naccess_token是公众号的全局唯一接口调用凭据,公众号调用各接口时都需使用access_token。开发者需要进行妥善保存。access_token的存储至少要保留512个字符空间。access_token的有效期目前为2个小时,需定时刷新,重复获取将导致上次获取的access_token失效\r\n\r\n```\r\n\r\n最终在`swagger-bootstrap-ui`的界面中,`api.md`的文档标题会是`获取用户列表`\r\n\r\n整个文档效果如下:\r\n\r\n![](/images/1-9-3/ef.png)\r\n\r\n如果没有按照一级(h1)、二级(h2)、三级(h3)来设置标题,默认标题会是文件名称,如图上的`api2.md`\r\n\r\n## 如何使用\r\n\r\n### Spring Boot环境\r\n\r\n在SpringBoot环境中,首先需要在`application.yml`或者`application.properties`配置文件中配置自定义文档目录\r\n\r\n如下:\r\n\r\n```yml\r\nswagger:\r\n markdowns: classpath:markdown/*\r\n```\r\n\r\n然后在Swagger的配置文件中启用`@EnableSwaggerBootstrapUi`注解\r\n\r\n如下代码:\r\n\r\n```java\r\n@Configuration\r\n@EnableSwagger2\r\n@EnableSwaggerBootstrapUI\r\npublic class SwaggerConfiguration {\r\n //more...\r\n \r\n}\r\n```\r\n\r\n除了在后端开启注解功能,在`doc.html`中,个性化配置里面还需要设置开启增强功能\r\n\r\n![](/images/1-9-3/en-fun.png)\r\n\r\n当然,在确保后端增强无误的情况下,你可以直接使用快速访问设置功能来直接启用增强\r\n\r\n地址输入:`http://127.0.0.1:8888/doc.html?plus=1`\r\n\r\n\r\n\r\n### Spring MVC环境\r\n\r\n在Spring MVC环境中,首先引入swagger-bootstrap-ui的jar包文件\r\n\r\n```xml\r\n\r\n com.github.xiaoymin\r\n swagger-bootstrap-ui\r\n 1.9.3\r\n\r\n```\r\n然后,需要在Spring的XML配置文件中注入`MarkdownFiles`类的实例bean\r\n\r\n如下:\r\n\r\n```xml\r\n\r\n\r\n \r\n\r\n```\r\n\r\n其他例如开启增强等操作和Spring Boot环境无异,打开doc.html即可访问看到效果"},{"title":"swagger-bootstrap-ui 简介","content":"# swagger-bootstrap-ui 简介\r\n\r\n[![star](https://gitee.com/xiaoym/swagger-bootstrap-ui/badge/star.svg?theme=white)](https://gitee.com/xiaoym/swagger-bootstrap-ui/stargazers) [![fork](https://gitee.com/xiaoym/swagger-bootstrap-ui/badge/fork.svg?theme=white)](https://gitee.com/xiaoym/swagger-bootstrap-ui/members)\r\n\r\n[swagger-bootstrap-ui](https://gitee.com/xiaoym/swagger-bootstrap-ui)是springfox-swagger的增强UI实现,为Java开发者在使用Swagger的时候,能拥有一份简洁、强大的接口文档体验\r\n\r\n\r\n\r\n**效果:**[http://swagger-bootstrap-ui.xiaominfo.com/doc.html](http://swagger-bootstrap-ui.xiaominfo.com/doc.html)\r\n\r\n**示例:**[https://gitee.com/xiaoym/swagger-bootstrap-ui-demo](https://gitee.com/xiaoym/swagger-bootstrap-ui-demo)\r\n\r\n**交流:**[![](https://img.shields.io/badge/加入QQ1群-608374991满-red.svg)](//shang.qq.com/wpa/qunwpa?idkey=16b81902c23fbca82780fa107da1b6612e2ee44a05c4103c9176ad9d61c2f6bf) [![](https://img.shields.io/badge/加入QQ2群-621154782-red.svg)](//shang.qq.com/wpa/qunwpa?idkey=11e0a1453a6a3695bd8ed709fbc8359c9c48dd8538aaafbece7b84ecd325b91c)\r\n\r\n\r\n## 核心功能\r\n\r\n该UI增强包主要包括两大核心功能:**文档说明** 和 **在线调试**\r\n\r\n- **文档说明**:根据Swagger的规范说明,详细列出接口文档的说明,包括接口地址、类型、请求示例、请求参数、响应示例、响应参数、响应码等信息,使用swagger-bootstrap-ui能根据该文档说明,对该接口的使用情况一目了然。\r\n\r\n- **在线调试**:提供在线接口联调的强大功能,自动解析当前接口参数,同时包含表单验证,调用参数可返回接口响应内容、headers、Curl请求命令实例、响应时间、响应状态码等信息,帮助开发者在线调试,而不必通过其他测试工具测试接口是否正确,简介、强大。\r\n\r\n## UI增强\r\n\r\n同时,swagger-bootstrap-ui在满足以上功能的同时,还提供了文档的增强功能,这些功能是官方swagger-ui所没有的,每一个增强的功能都是贴合实际,考虑到开发者的实际开发需要,是比不可少的功能,主要包括:\r\n\r\n- **个性化配置**:通过个性化ui配置项,可自定义UI的相关显示信息\r\n\r\n- **离线文档**:根据标准规范,生成的在线markdown离线文档,开发者可以进行拷贝生成markdown接口文档,通过其他第三方markdown转换工具转换成html或pdf,这样也可以放弃swagger2markdown组件\r\n\r\n- **接口排序**:自1.8.5后,ui支持了接口排序功能,例如一个注册功能主要包含了多个步骤,可以根据swagger-bootstrap-ui提供的接口排序规则实现接口的排序,step化接口操作,方便其他开发者进行接口对接\r\n\r\n## UI特点\r\n\r\n- 以markdown形式展示文档,将文档的请求地址、类型、请求参数、示例、响应参数分层次依次展示,接口文档一目了然,方便开发者对接\r\n- 在线调试栏除了自动解析参数外,针对必填项着颜色区分,同时支持tab键快速输入上下切换.调试时可自定义Content-Type请求头类型\r\n- 个性化配置项,支持接口地址、接口description属性、UI增强等个性化配置功能\r\n- 接口排序,支持分组及接口的排序功能\r\n- 支持markdown文档离线文档导出,也可在线查看离线文档\r\n- 调试信息全局缓存,页面刷新后依然存在,方便开发者调试\r\n- 以更人性化的treetable组件展示Swagger Models功能\r\n- 响应内容可全屏查看,针对响应内容很多的情况下,全屏查看,方便调试、复制\r\n- 文档以多tab方式可显示多个接口文档\r\n- 请求参数栏请求类型、是否必填着颜色区分\r\n- 主页中粗略统计接口不同类型数量\r\n- 支持接口在线搜索功能\r\n- 左右菜单和内容页可自由拖动宽度\r\n- 支持自定义全局参数功能,主页包括header及query两种类型\r\n- i18n国际化支持,目前支持:中文简体、中文繁体、英文\r\n- JSR-303 annotations 注解的支持\r\n\r\n\r\n## UI效果图\r\n\r\n![接口说明](https://doc.xiaominfo.com/static/des.png)\r\n\r\n![接口调试](https://doc.xiaominfo.com/static/debug.png)\r\n\r\n![个性化设置](https://doc.xiaominfo.com/static/settings.png)\r\n\r\n![接口离线文档](https://doc.xiaominfo.com/static/markdown.png)\r\n\r\n![SwaggerModels](https://doc.xiaominfo.com/static/models.png)"},{"title":"自定义文档说明","content":"# 自定义文档说明\r\n\r\n## 效果说明\r\n\r\n在`1.9.3`版本中,`swagger-bootstrap-ui`为了满足文档的个性化配置,添加了自定义文档功能\r\n\r\n开发者可自定义`md`文件扩展补充整个系统的文档说明\r\n\r\n开发者可以在当前项目中添加一个文件夹,文件夹中存放`.md`格式的markdown文件,每个`.md`文档代表一份自定义文档说明\r\n\r\n**注意**:自定义文档说明必须以`.md`结尾的文件,其他格式文件会被忽略\r\n\r\n例如项目结构如下:\r\n\r\n![](/images/1-9-3/construct.png)\r\n\r\n每个`.md`文件中,`swagger-bootstrap-ui`允许一级(h1)、二级(h2)、三级(h3)标题作为最终的文档标题\r\n\r\n比如`api.md`文档:\r\n\r\n```markdown\r\n## 获取用户列表\r\n\r\naccess_token是公众号的全局唯一接口调用凭据,公众号调用各接口时都需使用access_token。开发者需要进行妥善保存。access_token的存储至少要保留512个字符空间。access_token的有效期目前为2个小时,需定时刷新,重复获取将导致上次获取的access_token失效\r\n\r\n```\r\n\r\n最终在`swagger-bootstrap-ui`的界面中,`api.md`的文档标题会是`获取用户列表`\r\n\r\n整个文档效果如下:\r\n\r\n![](/images/1-9-3/ef.png)\r\n\r\n如果没有按照一级(h1)、二级(h2)、三级(h3)来设置标题,默认标题会是文件名称,如图上的`api2.md`\r\n\r\n## 如何使用\r\n\r\n### Spring Boot环境\r\n\r\n在SpringBoot环境中,首先需要在`application.yml`或者`application.properties`配置文件中配置自定义文档目录\r\n\r\n如下:\r\n\r\n```yml\r\nswagger:\r\n markdowns: classpath:markdown/*\r\n```\r\n\r\n然后在Swagger的配置文件中启用`@EnableSwaggerBootstrapUi`注解\r\n\r\n如下代码:\r\n\r\n```java\r\n@Configuration\r\n@EnableSwagger2\r\n@EnableSwaggerBootstrapUI\r\npublic class SwaggerConfiguration {\r\n //more...\r\n \r\n}\r\n```\r\n\r\n除了在后端开启注解功能,在`doc.html`中,个性化配置里面还需要设置开启增强功能\r\n\r\n![](/images/1-9-3/en-fun.png)\r\n\r\n当然,在确保后端增强无误的情况下,你可以直接使用快速访问设置功能来直接启用增强\r\n\r\n地址输入:`http://127.0.0.1:8888/doc.html?plus=1`\r\n\r\n\r\n\r\n### Spring MVC环境\r\n\r\n在Spring MVC环境中,首先引入swagger-bootstrap-ui的jar包文件\r\n\r\n```xml\r\n\r\n com.github.xiaoymin\r\n swagger-bootstrap-ui\r\n 1.9.3\r\n\r\n```\r\n然后,需要在Spring的XML配置文件中注入`MarkdownFiles`类的实例bean\r\n\r\n如下:\r\n\r\n```xml\r\n\r\n\r\n \r\n\r\n```\r\n\r\n其他例如开启增强等操作和Spring Boot环境无异,打开doc.html即可访问看到效果"}]}],"x-setting":{"language":"zh-CN","enableSwaggerModels":true,"enableDocumentManage":true,"enableRequestCache":true,"enableFilterMultipartApis":false,"enableFilterMultipartApiMethodType":"POST","enableHost":false,"enableHostText":""}}}