Currently, OpenAPI generator generates Java classes with annotations like io.swagger.annotations.Api from Swagger 2 (io.swagger:swagger-annotations).
These annotations are incompatible with OpenAPI projects like Springdoc (https://springdoc.org/).
OpenAPI generator should instead generate classes with Swagger 3 (OpenAPI) annotations (io.swagger.core.v3:swagger-annotations). I do not see any reason why to still use Swagger 2 annotations.
Currently, OpenAPI generator generates Java classes with annotations like
io.swagger.annotations.Apifrom Swagger 2 (io.swagger:swagger-annotations).These annotations are incompatible with OpenAPI projects like Springdoc (https://springdoc.org/).
OpenAPI generator should instead generate classes with Swagger 3 (OpenAPI) annotations (
io.swagger.core.v3:swagger-annotations). I do not see any reason why to still use Swagger 2 annotations.