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

[Question] 是否考虑仅使用swagger或注释开关 #1055

Closed
juyubiao opened this issue Oct 30, 2023 · 2 comments · Fixed by #1059
Closed

[Question] 是否考虑仅使用swagger或注释开关 #1055

juyubiao opened this issue Oct 30, 2023 · 2 comments · Fixed by #1059
Labels
type: question&discussion Further information is requested

Comments

@juyubiao
Copy link

Describe the question

由于项目较大+历史原因 造成既有注释又有swagger的情况,并且注释形式不标准导致未能正确使用swagger生成yapi

Expected result

以下两项期望达到其一

  1. 加个开关仅使用swagger作为接口文档导出到yapi,忽略注释
  2. 可以自定义使用swagger或注释的优先级,无swagger注解再使用注释
@juyubiao juyubiao added the type: question&discussion Further information is requested label Oct 30, 2023
@tangcent
Copy link
Owner

牵扯到的地方有点多,做这个改动可能需要很久。

@tangcent
Copy link
Owner

tangcent commented Nov 2, 2023

可以试试,但可能有bug。配置doc.source.disable=true
easy-yapi-2.6.4.212.0.zip

@tangcent tangcent removed the status: work-in-progress Currently being worked on label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question&discussion Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants