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
when generating JAX-RS code with OpenApi2JaxRs, method parameters representing the request body have the @NotNull annotation, as if they were required:
Given a [request body(https://spec.openapis.org/oas/v3.0.3#request-body-object) with
"required": false
:when generating JAX-RS code with
OpenApi2JaxRs
, method parameters representing the request body have the@NotNull
annotation, as if they were required:I believe the
@NotNull
annotation should only be present when the request body has the"required": true
property.The text was updated successfully, but these errors were encountered: