@DependentRequired
, @DependentSchema
and @SchemaProperty
are missing @Target
#676
Labels
@DependentRequired
, @DependentSchema
and @SchemaProperty
are missing @Target
#676
I believe all of these annotations are only intended to be used as nested annotations within
@Schema
, so they should have@Target({})
.Without
@Target
they can be placed anywhere, but they'll likely be ignored.Most are also missing
@Retention
so if placed on a Java element, they won't be visible at runtime. When used as a nested annotation (as intended for these annotations),@Retention
has no effect.I'm unsure whether fixing this would constitute a breaking change:
The text was updated successfully, but these errors were encountered: