openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[BUG] [java] Generates constraints validation annotations on getter methods not on fields

Open narasimha3841 opened this issue 3 years ago • 1 comments

Description

Generates constraints validation annotations on getter methods not on fields

openapi-generator version

7.0.1

narasimha3841 avatar Nov 25 '23 16:11 narasimha3841

Even it is on getter methods, the validation still took effect.

mortal-dog avatar Aug 30 '24 19:08 mortal-dog