It seems like the spring-doc generator sets all fields as optional, by default, and makes them required - when you explicitly annotate them with @NotNull
This is the opposite of how I work - my fields are all required until annotated with @Nullable.
Is is possible to fix this behaviour for my code?