Skip to content

[Java][jaxrs/resteasy] add @Valid to getter methods when bean validation is enabled #1698

@tnmtechnologies

Description

@tnmtechnologies
Description

When bean validation is enabled, @Valid misses on getter methods of model classes.

It is ok for the api part thanks to #1237 .

openapi-generator version

Issue found in version 3.3.3

OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs

#1237
#1019

Suggest a fix

I think that what has been done for the fix #1019 for models should be done in models of the resteasy server generator.

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