Open joffrey-bion opened 6 years ago
The fact that some properties are "required" or "optional" could be inferred from constraint annotations like the following:
javax.annotations
@Nonnull
@Nullable
@NotNull
@NotBlank
@NotEmpty
JetBrains's @NotNull/@Nullable are not available at runtime, so these ones cannot be taken into account.
Would be useful to support custom constraint annotations somehow as well.
The fact that some properties are "required" or "optional" could be inferred from constraint annotations like the following:
javax.annotations
@Nonnull
/@Nullable
@NotNull
/@Nullable
@NotBlank
/@NotEmpty
.