<!doctype html>
<html lang="zh-Hans" dir="ltr" class="docs-wrapper docs-doc-page docs-version-current plugin-docs plugin-id-default docs-doc-id-oas/OpenAPI3-specification">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="generator" content="Docusaurus v2.0.1">
<link rel="search" type="application/opensearchdescription+xml" title="Knife4j" href="/opensearch.xml">
<!-- Google Tag Manager -->
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-TKBX678",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script>
<!-- End Google Tag Manager -->
<script src="/js/custom.js"></script>
<script src="/js/baidu.js"></script>
<script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1589206801610969" async crossorigin="anonymous"></script><title data-rh="true">OpenAPI 规范 | Knife4j</title><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://doc.xiaominfo.com/docs/oas/OpenAPI3-specification"><meta data-rh="true" name="docusaurus_locale" content="zh-Hans"><meta data-rh="true" name="docsearch:language" content="zh-Hans"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="OpenAPI 规范 | Knife4j"><meta data-rh="true" name="description" content="版本 3.0.3"><meta data-rh="true" property="og:description" content="版本 3.0.3"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://doc.xiaominfo.com/docs/oas/OpenAPI3-specification"><link data-rh="true" rel="alternate" href="https://doc.xiaominfo.com/docs/oas/OpenAPI3-specification" hreflang="zh-Hans"><link data-rh="true" rel="alternate" href="https://doc.xiaominfo.com/docs/oas/OpenAPI3-specification" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://3CRIMRK623-dsn.algolia.net" crossorigin="anonymous"><link rel="stylesheet" href="/assets/css/styles.66359a73.css">
<link rel="preload" href="/assets/js/runtime~main.e0db172c.js" as="script">
<link rel="preload" href="/assets/js/main.c059fb6e.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function e(e){document.documentElement.setAttribute("data-theme",e)}var t=function(){var e=null;try{e=localStorage.getItem("theme")}catch(e){}return e}();null!==t?e(t):window.matchMedia("(prefers-color-scheme: dark)").matches?e("dark"):window.matchMedia("(prefers-color-scheme: light)").matches?e("light"):e("dark")}()</script><div id="__docusaurus">
<div role="region"><a href="#" class="skipToContent_fXgn">跳到主要内容</a></div><nav class="navbar navbar--fixed-top navbarHideable_m1mJ"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Navigation bar toggle" class="navbar__toggle clean-btn" type="button" tabindex="0"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/knife4j-light.svg" alt="" class="themedImage_ToTc themedImage--light_HNdA"><img src="/img/knife4j-dark.svg" alt="" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">Knife4j</b></a><a class="navbar__item navbar__link" href="/docs/quick-start">文档</a><a class="navbar__item navbar__link changelog" href="/docs/middleware-sources">中间件</a><a aria-current="page" class="navbar__item navbar__link changelog navbar__link--active" href="/docs/oas">OAS规范</a><a class="navbar__item navbar__link changelog" href="/docs/action">实战指南</a><a class="navbar__item navbar__link changelog" href="/docs/changelog">更新日志</a><a class="navbar__item navbar__link changelog" href="/docs/faq">FAQ</a><div class="navbar__item dropdown dropdown--hoverable"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">旧版本</a><ul class="dropdown__menu"><li><a class="dropdown__link" target="_blank" href="/v2/index.html">2.0.9</a></li></ul></div></div><div class="navbar__items navbar__items--right"><div class="toggle_MW0i colorModeToggle_x44X"><button class="clean-btn toggleButton_yw5v toggleButtonDisabled_BJd7" type="button" disabled="" title="切换浅色/暗黑模式(当前为暗黑模式)" aria-label="切换浅色/暗黑模式(当前为暗黑模式)"><span><svg viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg" width="14" height="14" class="lightToggleIcon_SFTY"><g clip-path="url(#clip0_833_8168)"><path d="M6.59998 8.49999C7.98069 8.49999 9.09998 7.3807 9.09998 5.99999C9.09998 4.61928 7.98069 3.49999 6.59998 3.49999C5.21926 3.49999 4.09998 4.61928 4.09998 5.99999C4.09998 7.3807 5.21926 8.49999 6.59998 8.49999Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.59985 0.5V1.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.59985 10.5V11.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M2.7099 2.11L3.4199 2.82" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.77991 9.17999L10.4899 9.88999" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.09998 6H2.09998" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.0999 6H12.0999" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M2.7099 9.88999L3.4199 9.17999" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.77991 2.82L10.4899 2.11" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_833_8168"><rect width="12" height="12" fill="white" transform="translate(0.599976)"></rect></clipPath></defs></svg><svg viewBox="0 0 13 12" width="14" height="14" class="darkToggleIcon_ekgs"><path d="M10.7001 6.39501C10.6215 7.24611 10.3021 8.05721 9.77927 8.7334C9.25646 9.40959 8.55189 9.92291 7.748 10.2133C6.9441 10.5036 6.07414 10.5591 5.2399 10.3731C4.40565 10.187 3.64164 9.76728 3.03726 9.1629C2.43287 8.55851 2.01312 7.7945 1.8271 6.96026C1.64108 6.12602 1.6965 5.25605 1.98688 4.45216C2.27725 3.64826 2.79056 2.94369 3.46675 2.42088C4.14294 1.89808 4.95404 1.57866 5.80515 1.50001C5.30685 2.17414 5.06707 3.00473 5.12941 3.84071C5.19175 4.6767 5.55208 5.46254 6.14485 6.05531C6.73762 6.64808 7.52346 7.0084 8.35944 7.07074C9.19542 7.13308 10.026 6.8933 10.7001 6.39501Z" stroke="currentColor" fill="transparent" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></button></div><a href="https://github.com/xiaoymin/swagger-bootstrap-ui" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link icon" title="View on GitHub">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="searchBox_ZlJk"><button type="button" class="DocSearch DocSearch-Button" aria-label="搜索"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.65
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
knife4j是为Java MVC框架集成Swagger生成Api文档的增强解决方案,knife4j的前身是swagger-bootstrap-ui,为了契合微服务的架构发展,由于原来swagger-bootstrap-ui采用的是后端Java代码+前端Ui混合打包的方式,在微服务架构下显的很臃肿,因此项目正式更名为knife4j
资源推荐
资源详情
资源评论
收起资源包目录
knife4j是为Java MVC框架集成Swagger生成Api文档的增强解决方案 (2000个子文件)
app.a515bb72.css 608KB
app.a515bb72.css 608KB
chunk-vendors.f24a310a.css 320KB
chunk-vendors.f24a310a.css 320KB
styles.66359a73.css 101KB
editormd.css 76KB
editormd.css 76KB
0.styles.16a4c461.css 25KB
custom.css 9KB
iconfont.css 5KB
iconfont.css 5KB
index.module.css 5KB
styles.module.css 998B
chunk-d7d5f59c.a9ffbfcb.css 878B
chunk-d7d5f59c.a9ffbfcb.css 878B
Highlights.module.css 823B
styles.module.css 358B
styles.module.css 223B
chunk-296622eb.20e6d994.css 168B
chunk-296622eb.20e6d994.css 168B
styles.module.css 123B
sidebar.css 44B
OpenAPI3-specification.html 779KB
springfox13.html 131KB
springfox3.html 124KB
dotnetcore-knife4j-how.html 118KB
springfox1.html 116KB
sbu-version.html 111KB
springcloud-gateway.html 100KB
springcloud-gateway.html 99KB
2020-10-26-knife4j-2.0.6-issue.html 97KB
oauth2.html 97KB
springfox10.html 96KB
ui-front-gateway.html 95KB
ui-front-gateway.html 95KB
ui-front-gateway.html 95KB
ui-front-gateway.html 95KB
ui-front-gateway.html 92KB
OAuth2.html 89KB
2021-06-28-knife4j-2.0.9-issue.html 89KB
2020-11-22-knife4j-2.0.8-issue.html 83KB
index.html 82KB
springfox8.html 82KB
2020-05-24-knife4j-2.0.3-issue.html 80KB
desktop-test.html 80KB
2020-03-08-knife4j-2.0.2-issue.html 79KB
springmvc.html 78KB
springfox2.html 76KB
knife4jAggregation.html 76KB
knife4jAggregation.html 76KB
spring-gateway-introduction.html 76KB
springmvc.html 76KB
index.html 73KB
knife4jAggregation.html 73KB
knife4jAggregation.html 73KB
sp-nmerror.html 72KB
oauth2.html 71KB
knife4j-parameterobject-flat-param.html 71KB
springcloud-zuul.html 71KB
knife4jAggregation.html 71KB
2020-11-02-knife4j-2.0.7-issue.html 71KB
springmvc.html 70KB
sp-nmerror.html 70KB
sp-nmerror.html 70KB
sp-nmerror.html 70KB
2020-09-14-knife4j-2.0.5-issue.html 69KB
get_start.html 69KB
ui-front-zuul.html 67KB
ui-front-zuul.html 67KB
ui-front-zuul.html 67KB
ui-front-zuul.html 67KB
2020-06-28-knife4j-2.0.4-issue.html 67KB
springboot.html 66KB
2019-12-16-knife4j-2.0.0-issue.html 65KB
2019-04-08-swagger-bootstrap-ui-1.9.2-issue.html 65KB
knife4jCloud.html 64KB
2019-02-25-swagger-bootstrap-ui-1.9.0-issue.html 63KB
host.html 63KB
host.html 63KB
2020-11-22-knife4j-2.0.8-issue.html 63KB
quick-start.html 62KB
2018-08-26-swagger-bootstrap-ui-1.8.2-issue.html 62KB
aggregation-docker.html 62KB
2019-12-23-knife4j-2.0.1-issue.html 62KB
oauth2-authorization_code.html 62KB
2020-10-26-knife4j-2.0.6-issue.html 62KB
enhance.html 62KB
knife4jAggregationDesktop.html 61KB
knife4jAggregationDesktop.html 61KB
dotnetcore-knife4j-how.html 61KB
oauth2-implicit.html 61KB
2019-07-31-swagger-bootstrap-ui-1.9.5-issue.html 61KB
knife4j-front-source-modified.html 61KB
desktop-test.html 61KB
jsr303.html 61KB
jsr303.html 61KB
accessControl.html 60KB
accessControl.html 60KB
2019-03-11-swagger-bootstrap-ui-1.9.1-issue.html 60KB
2017-12-18-swagger-bootstrap-ui-1.7-issue.html 60KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6651
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功