We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a47b9a4 commit ef55196Copy full SHA for ef55196
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 false, 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 allowRepeatedNames() default true;
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