Skip to content

useBeanValidation option results in deprecated API usage #1337

@jamesnetherton

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

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