Skip to content

[REQ] Generate classes with Swagger 3 (OpenAPI) annotations #10814

@kdebski85

Description

@kdebski85

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions