diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/_0_0/model/AsyncAPI.java b/asyncapi-core/src/main/java/com/asyncapi/v2/_0_0/model/AsyncAPI.java index 790ef520..c6515f0b 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/_0_0/model/AsyncAPI.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v2/_0_0/model/AsyncAPI.java @@ -44,6 +44,7 @@ public class AsyncAPI extends ExtendableObject { * and tooling should typically be compatible with the corresponding major.minor (1.0.*). * Patch versions will correspond to patches of this document. */ + @Builder.Default @NotNull @Builder.Default private final String asyncapi = "2.0.0"; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/_6_0/model/AsyncAPI.java b/asyncapi-core/src/main/java/com/asyncapi/v2/_6_0/model/AsyncAPI.java index 017409dd..335fe4ad 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/_6_0/model/AsyncAPI.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v2/_6_0/model/AsyncAPI.java @@ -46,6 +46,7 @@ public class AsyncAPI extends ExtendableObject { * and tooling should typically be compatible with the corresponding major.minor (1.0.*). * Patch versions will correspond to patches of this document. */ + @Builder.Default @NotNull @Builder.Default private final String asyncapi = "2.6.0"; diff --git a/pom.xml b/pom.xml index 9b3b6d45..391729ad 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,7 @@ 1.18.26 5.9.2 1.7.0 + UTF-8 @@ -209,6 +210,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.11.0 compile