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

No static resource api-docs/swagger-config #860

Open
mingyang66 opened this issue Nov 15, 2024 · 4 comments
Open

No static resource api-docs/swagger-config #860

mingyang66 opened this issue Nov 15, 2024 · 4 comments

Comments

@mingyang66
Copy link

No static resource api-docs/swagger-config
springboot3+knife4j-openapi3-jakarta-spring-boot-starter 本地测试是ok的,但是发布到测试线http://xx.xx.xx.xx.xx/dev/xx-xx/v3/api-docs/swagger-config请求就报No static resource api-docs/swagger-config异常?

@mingyang66
Copy link
Author

已解决

@ttkOfCode
Copy link

@mingyang66 大佬是怎么解决的

@mingyang66
Copy link
Author

@mingyang66 大佬是怎么解决的

添加如下配置:

# 用于json格式的OpenApi文档自定义路径
springdoc.api-docs.path=v3/api-docs

@ttkOfCode
Copy link

ttkOfCode commented Dec 26, 2024

@mingyang66大佬, 我在gitee里面提了一个Issues,方便的话看一下谢谢啦:https://gitee.com/xiaoym/knife4j/issues/IBDW08,图中是我尝试用的两种yml配置
image

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

2 participants