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

Compatible with native Swagger Tag content. #670

Closed
wants to merge 4 commits into from
Closed

Compatible with native Swagger Tag content. #670

wants to merge 4 commits into from

Conversation

nianien
Copy link

@nianien nianien commented Nov 27, 2023

The native Swagger's tag information includes details such as the controller class and methods, allowing the front end to automatically generate code based on the tag information. The tag information in smart-doc only contains interface descriptions, which cannot be utilized by front-end frameworks.
原生的Swagger的tag信息会包含controller类和方发等信息,前端可以根据tag信息自动生成前端代码。smart-doc的tag信息只有接口描述,前端框架无法使用,

@shalousun
Copy link
Collaborator

shalousun commented Nov 27, 2023

Are you not using the 3.0 protocol, but rather the Swagger2 protocol? Does the open API of 3.0 also need to be fixed?
你们不用3.0的协议,用的swagger2协议吗,是不是3.0的open api也需要修复下

@shalousun
Copy link
Collaborator

shalousun commented Nov 27, 2023

Let's rebase it and keep only one effective message. If it's convenient, you can also help us register.
rebase下吧,保留一条有效的message即可。如果方便也可以帮我们登记下#12

@nianien
Copy link
Author

nianien commented Nov 27, 2023

Are you not using the 3.0 protocol, but rather the Swagger2 protocol? Does the open API of 3.0 also need to be fixed?
你们不用3.0的协议,用的swagger2协议吗,是不是3.0的open api也需要修复下

Currently, a large amount of front-end code is generated based on the Swagger2 protocol, and the cost of upgrading is somewhat high.
目前大量前端代码都是基于swagger2协议生成的,升级成本有点高

@nianien nianien closed this Nov 27, 2023
@shalousun shalousun changed the title 兼容原生Swagger的Tag内容 Compatible with native Swagger Tag content. Jun 28, 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

Successfully merging this pull request may close these issues.

2 participants