There are 2 ways to add OpenAPI 3 into Spring Boot project.
-
<groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId>
https://www.dariawan.com/tutorials/spring/documenting-spring-boot-rest-api-springdoc-openapi-3/
-
<groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId>
https://medium.com/@hala3k/setting-up-swagger-3-with-spring-boot-2-a7c1c3151545
There are aloso migration isue for config and annotation
The question is: are there any reasons for Spring Boot project to make a choice beetwen them?
UPDATE: make migration to OpenAPI 3. Not too hard:) Maybe it will be helpfull: