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?
Update After months of heavy use and testing of
SpringDoc OpenApi
I would say that is not an alternative to springfox, it is something much better! Stable, easy to use and up to date!
I can 100% recomend this! We migrate all our projects to SpringDoc OpenApi.
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 ;-)
Spring doc Open API is alternative going forward.
Refer the below link
https://techsparx.com/software-development/openapi/spring-boot-rest-api-docs.html