Swagger specification for schema object specifies a list of attributes which are valid for a given schema object. But codegen(CodegenProperty.java) does not read in all of this attributes. If declared on the schema, these attributes are ignored.
Codegen should read these properties and use it for model generation with bean validation enabled. Is linked to #2549