We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
后端:
依赖:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>3.3.5</version> <type>pom</type> <scope>import</scope> </dependency> <!-- knife4j-doc --> <dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId> <version>4.5.0</version> </dependency>
application.yml(第一种情况)
springdoc: swagger-ui: enabled: false path: /swagger-ui.html tags-sorter: alpha operations-sorter: alpha api-docs: enabled: true path: /v3/api-docs/
application.yml(第二种情况)
springdoc: swagger-ui: enabled: false path: /swagger-ui.html tags-sorter: alpha operations-sorter: alpha api-docs: enabled: true path: /dev-api/v3/api-docs/
对于第二种yml配置文件的补充说明: 显示效果 图1.Url中/dev-api前缀 图2.会在所有的controller接口中添加前缀/dev-api
The text was updated successfully, but these errors were encountered:
目前遇到的所有已经解决,如果有需要的可以在站联系我
Sorry, something went wrong.
你好 我想请问一下是如何解决的
No branches or pull requests
后端:
The text was updated successfully, but these errors were encountered: