diff --git a/common/schema-model/src/main/java/io/smallrye/graphql/schema/model/UnionType.java b/common/schema-model/src/main/java/io/smallrye/graphql/schema/model/UnionType.java index 2a94845c7..82a3c9c67 100644 --- a/common/schema-model/src/main/java/io/smallrye/graphql/schema/model/UnionType.java +++ b/common/schema-model/src/main/java/io/smallrye/graphql/schema/model/UnionType.java @@ -4,6 +4,9 @@ public final class UnionType extends Reference { private String description; + public UnionType() { + } + public UnionType(String className, String name, String description) { super(className, name, ReferenceType.UNION); this.description = description;