We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f79bac7 commit 0da3e6eCopy full SHA for 0da3e6e
src/main/java/com/fasterxml/jackson/annotation/JsonSubTypes.java
@@ -27,6 +27,15 @@
27
*/
28
public Type[] value();
29
30
+
31
+ /**
32
+ * Subtypes of the annotated type may have logical type name and names properties.
33
+ * When set to true, logical type name and names are going to be checked
34
+ * for repeated values. Repeated values are considered a definition violation
35
+ * during that check.
36
+ */
37
+ public boolean failOnRepeatedNames() default false;
38
39
/**
40
* Definition of a subtype, along with optional name(s). If no name is defined
41
* (empty Strings are ignored), class of the type will be checked for {@link JsonTypeName}
0 commit comments