问题
Last two years I worked on Spring Boot Applications with Springfox. Springfox generate a documentation and a test ui for your REST API. This was awesome.
But actually Springfox project is dead and do not support the newest Spring. I have three questions
- Is there any other way to generate Swagger UI directly? Any other library/project?
- How do you implement swagger ui into your Spring Boot project?
- Maybe im outdated, is there a much more better alternative to the swagger staff for Spring Boot?
回答1:
I haven't tried it myself yet, but this looks quite promising:
https://github.com/springdoc/springdoc-openapi
OpenAPI is the successor of Swagger, if you haven't heard. Not sure how much this project offers in terms of customization and how mature it is, but I guess it's worth a try ;-)
来源:https://stackoverflow.com/questions/58953513/any-springfox-alternatives-out-there