Skip to content
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

Springboot3.0.2 knife4j在Apollo配置失效 #832

Open
AnoobFeng opened this issue Aug 27, 2024 · 0 comments
Open

Springboot3.0.2 knife4j在Apollo配置失效 #832

AnoobFeng opened this issue Aug 27, 2024 · 0 comments

Comments

@AnoobFeng
Copy link

AnoobFeng commented Aug 27, 2024

pom引入
<!-- knife4j --> <dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId> <version>4.4.0</version> </dependency>
配置如下:
springdoc.swagger-ui.path = /swagger-ui.html
springdoc.swagger-ui.tags-sorter = alpha
springdoc.swagger-ui.operations-sorter = alpha
springdoc.api-docs.path = /v3/api-docs
springdoc.group-configs[0].group = default
springdoc.group-configs[0].paths-to-match = /**
springdoc.group-configs[0].packages-to-scan = com.em.blackcat.controller
knife4j.setting.language = zh_cn

已知在application.properties中配置则文档生效,在Apollo则失效(Apollo可用)

@AnoobFeng AnoobFeng changed the title knife、 knife4j在Apollo配置失效 Aug 27, 2024
@AnoobFeng AnoobFeng changed the title knife4j在Apollo配置失效 Springboot3.0.2 knife4j在Apollo配置失效 Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant