Skip to content

useBeanValidation option results in deprecated API usage #1337

Description

@jamesnetherton

When configuring useBeanValidation to true, generated classes seem to use deprecated attribute required from io.swagger.v3.oas.annotations.media.Schema.

@Schema(required = true, description = "")
public String getId() {
    return id;
}
required() in io.swagger.v3.oas.annotations.media.Schema has been deprecated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions