You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swagger-codegen does not generate the @NotNull annotation for the required property password of model UserRegister. The email property declared in model User is handled correctly, I can see the @NotNull annotation if front the corresponding method.
This has something to do with inheritance. The required field in the inheriting model (in this case - UserRegister) is ignored for both inherited (email) and new (password) properties.
Description
Swagger-codegen does not generate the
@NotNull
annotation for the required propertypassword
of modelUserRegister
. Theemail
property declared in modelUser
is handled correctly, I can see the@NotNull
annotation if front the corresponding method.This has something to do with inheritance. The
required
field in the inheriting model (in this case -UserRegister
) is ignored for both inherited (email
) and new (password
) properties.Swagger-codegen version
2.2.3
Swagger declaration file content or url
Maven configuration
The text was updated successfully, but these errors were encountered: