-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
仅使用knife4j-openapi3-ui,如何搭配项目中的已经生成好的openapi.json使用 #714
Comments
主要步骤: 1、基于源码进行构建, 2、修改文件BasicLayout.vue,针对 3、修改 4、url接口响应回来的结构需要满足如下格式,格式参考blog: [
{
"name": "2.X版本",
"url": "/v2/api-docs?group=2.X版本",
"swaggerVersion": "2.0",
"location": "/v2/api-docs?group=2.X版本"
},
{
"name": "分组接口",
"url": "/v2/api-docs?group=分组接口",
"swaggerVersion": "2.0",
"location": "/v2/api-docs?group=分组接口"
},
{
"name": "默认接口",
"url": "/v2/api-docs?group=默认接口",
"swaggerVersion": "2.0",
"location": "/v2/api-docs?group=默认接口"
}
] |
那是不是在项目中提供 |
这个只是显示分组的名称,随便你自己设定 |
我在尝试用knife4j-ui搭配smart-doc使用,smart-doc可以使用maven插件生成openapi.json文件,目录如下(可配置)
knife4j-ui可以直接配置openai.json地址,然后渲染吗?
The text was updated successfully, but these errors were encountered: