We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The rule "Name" field for Missing data notifications is not mandatory
This is inconsistent with other forms
The text was updated successfully, but these errors were encountered:
Hm, so NotificationSettings.name is annoted with @JsonProperty( required = true ) According to this: https://stackoverflow.com/questions/45867473/should-you-use-notnull-and-jsonpropertyrequired-in-the-same-object It will not do any validation. So we either need to continue to use Bean Validation with @NotNull or Swagger with @ApiModelProperty
@JsonProperty( required = true )
@NotNull
@ApiModelProperty
Sorry, something went wrong.
I assume there are more fields like this we do not validate any longer...
@JsonProperty( required = true ) just means it should be in the json object when it is deserialized/serialized, nothing about its value
fixes Hyperfoil#653, added bean validation to the rest data objects
6cefae8
274e0e5
stalep
No branches or pull requests
The rule "Name" field for Missing data notifications is not mandatory
This is inconsistent with other forms
The text was updated successfully, but these errors were encountered: