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

gateway集成openapi3,页面无法显示接口信息 #873

Open
windchen08 opened this issue Dec 12, 2024 · 2 comments
Open

gateway集成openapi3,页面无法显示接口信息 #873

windchen08 opened this issue Dec 12, 2024 · 2 comments

Comments

@windchen08
Copy link

因项目涉及到多语言开发,且文档都用swagger3,所以想着用gateway做整合。
配置如截图所示:
截屏2024-12-12 下午3 16 08
配置三个项目,一个java+2个php。java项目正常显示,但是php显示不正常。如图:
截屏2024-12-12 下午3 14 11
但是php响应的json数据在swagger edit上是校验通过的;
截屏2024-12-12 下午3 14 36

@windchen08
Copy link
Author

同样都是openapi标准,为什么加载不出来页面?是因为php和java响应有细微差别?所以渲染不出来?

@windchen08
Copy link
Author

版本是:

com.github.xiaoymin
knife4j-gateway-spring-boot-starter
4.4.0

PhP响应数据是:
截屏2024-12-18 上午11 29 57

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