Closed hauner closed 2 years ago
Yes please :D
Will the fields that reference the marker interface be given the @Valid annotation?
of course ;-)
you can try it with
io.openapiprocessor:openapi-processor-spring:2022.3-SNAPSHOT
by enabling one-of-interface: true
in the options.
openapi-processor-mapping: v2
options:
bean-validation: true
one-of-interface: true
with the gradle plugin it should find the snapshot automatically....
Works a treat, thank you.
nice :-)
released in io.openapiprocessor:openapi-processor-spring:2022.3
Is it worth adding a marker interface to the items of
oneOf
that's used as the type instead ofObject
?moved
anyOf
to #90, one step at a time