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

[Feature] 接口文档可以考虑使用 springdoc-openapi #228

Closed
1 of 2 tasks
nekolr opened this issue Dec 22, 2022 · 7 comments · Fixed by #232
Closed
1 of 2 tasks

[Feature] 接口文档可以考虑使用 springdoc-openapi #228

nekolr opened this issue Dec 22, 2022 · 7 comments · Fixed by #232
Assignees
Labels
documentation Improvements or additions to documentation feature New feature or request good first issue Good for newcomers
Milestone

Comments

@nekolr
Copy link

nekolr commented Dec 22, 2022

Search before asking

  • 我已经在 issues 列表 里查询过,并且没找到类似的问题。

Description

see: https://github.com/springdoc/springdoc-openapi

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • 是的我想要提交个PR!

Related pull requests

No response

@nekolr nekolr added the feature New feature or request label Dec 22, 2022
@chivehao
Copy link
Member

目前使用的就是springdoc,但是他们还没有对Springboot3.0作支持,目前这部分配置类注释掉了

@nekolr
Copy link
Author

nekolr commented Dec 22, 2022

目前使用的就是springdoc,但是他们还没有对Springboot3.0作支持,目前这部分配置类注释掉了

* [[Bug] Swagger UI的信息不正确 #197](https://github.com/ikaros-dev/ikaros/issues/197)

我提到的是: springdoc-openapi,不是 springfox,该组件已经很久没有维护了。

@chivehao
Copy link
Member

目前使用的就是springdoc,但是他们还没有对Springboot3.0作支持,目前这部分配置类注释掉了

* [[Bug] Swagger UI的信息不正确 #197](https://github.com/ikaros-dev/ikaros/issues/197)

我提到的是: springdoc-openapi,不是 springfox,该组件已经很久没有维护了。

我们会支持的,因为在 springboot3.0 springfox目前也无法使用,一个长期不更新维护的库如果有更好的选择,确实没有使用的必要。

@chivehao chivehao added this to the Backlog milestone Dec 22, 2022
@chivehao chivehao added the documentation Improvements or additions to documentation label Dec 22, 2022
@nekolr
Copy link
Author

nekolr commented Dec 22, 2022

目前使用的就是springdoc,但是他们还没有对Springboot3.0作支持,目前这部分配置类注释掉了

* [[Bug] Swagger UI的信息不正确 #197](https://github.com/ikaros-dev/ikaros/issues/197)

我提到的是: springdoc-openapi,不是 springfox,该组件已经很久没有维护了。

我们会支持的,因为在 springboot3.0 springfox目前也无法使用,一个长期不更新维护的库如果有更好的选择,确实没有使用的必要。

据我所知,很多项目都从 springfox 迁移到了 springdoc-openapi,该组件在 2.0.0 版本就已经支持 spring-boot 3.0.0 了

@chivehao chivehao added the good first issue Good for newcomers label Dec 22, 2022
@chivehao chivehao modified the milestones: Backlog, 0.1.0 Dec 22, 2022
@chivehao chivehao linked a pull request Dec 22, 2022 that will close this issue
2 tasks
@chivehao chivehao self-assigned this Dec 22, 2022
@chivehao
Copy link
Member

openapi组件使用springdoc不知道为啥一直404,等明天再看下。

@nekolr
Copy link
Author

nekolr commented Dec 23, 2022

openapi组件使用springdoc不知道为啥一直404,等明天再看下。

2.0.0 及以上版本才支持 spring-boot 3.0.0,see: https://github.com/springdoc/springdoc-openapi/releases/tag/v2.0.0

@chivehao
Copy link
Member

openapi组件使用springdoc不知道为啥一直404,等明天再看下。

2.0.0 及以上版本才支持 spring-boot 3.0.0,see: https://github.com/springdoc/springdoc-openapi/releases/tag/v2.0.0

我好像找错文档了,还以为版本是1.6.4,里面的模块已经是2.0以上了,待会儿再试下
正确的文档链接:https://springdoc.org/v2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature New feature or request good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants