diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPChannelBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPChannelBinding.java
new file mode 100644
index 00000000..6d3aae50
--- /dev/null
+++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPChannelBinding.java
@@ -0,0 +1,36 @@
+package com.asyncapi.bindings.stomp;
+
+import com.asyncapi.bindings.ChannelBinding;
+import com.fasterxml.jackson.annotation.JsonSubTypes;
+import com.fasterxml.jackson.annotation.JsonTypeInfo;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.NoArgsConstructor;
+
+/**
+ * This class MUST NOT contain any properties.
+ *
+ * Its name is reserved for future use.
+ *
+ * Describes STOMP channel binding.
+ *
+ * @version 0.1.0
+ * @see STOMP channel binding
+ * @author Pavel Bodiachevskii
+ */
+@JsonTypeInfo(
+ use = JsonTypeInfo.Id.NAME,
+ include = JsonTypeInfo.As.EXISTING_PROPERTY,
+ defaultImpl = com.asyncapi.bindings.stomp.v0._1_0.channel.STOMPChannelBinding.class,
+ property = "bindingVersion",
+ visible = true
+)
+@JsonSubTypes({
+ @JsonSubTypes.Type(value = com.asyncapi.bindings.stomp.v0._1_0.channel.STOMPChannelBinding.class, names = {
+ "0.1.0",
+ "latest"
+ }),
+})
+@Data
+@EqualsAndHashCode(callSuper = true)
+public abstract class STOMPChannelBinding extends ChannelBinding {}
\ No newline at end of file
diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPMessageBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPMessageBinding.java
new file mode 100644
index 00000000..951fdfdd
--- /dev/null
+++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPMessageBinding.java
@@ -0,0 +1,36 @@
+package com.asyncapi.bindings.stomp;
+
+import com.asyncapi.bindings.MessageBinding;
+import com.fasterxml.jackson.annotation.JsonSubTypes;
+import com.fasterxml.jackson.annotation.JsonTypeInfo;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.NoArgsConstructor;
+
+/**
+ * This class MUST NOT contain any properties.
+ *
+ * Its name is reserved for future use.
+ *
+ * Describes STOMP message binding.
+ *
+ * @version 0.1.0
+ * @see STOMP message binding
+ * @author Pavel Bodiachevskii
+ */
+@JsonTypeInfo(
+ use = JsonTypeInfo.Id.NAME,
+ include = JsonTypeInfo.As.EXISTING_PROPERTY,
+ defaultImpl = com.asyncapi.bindings.stomp.v0._1_0.message.STOMPMessageBinding.class,
+ property = "bindingVersion",
+ visible = true
+)
+@JsonSubTypes({
+ @JsonSubTypes.Type(value = com.asyncapi.bindings.stomp.v0._1_0.message.STOMPMessageBinding.class, names = {
+ "0.1.0",
+ "latest"
+ }),
+})
+@Data
+@EqualsAndHashCode(callSuper = true)
+public abstract class STOMPMessageBinding extends MessageBinding {}
\ No newline at end of file
diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPOperationBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPOperationBinding.java
new file mode 100644
index 00000000..e9fd5b03
--- /dev/null
+++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPOperationBinding.java
@@ -0,0 +1,36 @@
+package com.asyncapi.bindings.stomp;
+
+import com.asyncapi.bindings.OperationBinding;
+import com.fasterxml.jackson.annotation.JsonSubTypes;
+import com.fasterxml.jackson.annotation.JsonTypeInfo;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.NoArgsConstructor;
+
+/**
+ * This class MUST NOT contain any properties.
+ *
+ * Its name is reserved for future use.
+ *
+ * Describes STOMP operation binding.
+ *
+ * @version 0.1.0
+ * @see STOMP operation binding
+ * @author Pavel Bodiachevskii
+ */
+@JsonTypeInfo(
+ use = JsonTypeInfo.Id.NAME,
+ include = JsonTypeInfo.As.EXISTING_PROPERTY,
+ defaultImpl = com.asyncapi.bindings.stomp.v0._1_0.operation.STOMPOperationBinding.class,
+ property = "bindingVersion",
+ visible = true
+)
+@JsonSubTypes({
+ @JsonSubTypes.Type(value = com.asyncapi.bindings.stomp.v0._1_0.operation.STOMPOperationBinding.class, names = {
+ "0.1.0",
+ "latest"
+ }),
+})
+@Data
+@EqualsAndHashCode(callSuper = true)
+public abstract class STOMPOperationBinding extends OperationBinding {}
\ No newline at end of file
diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPServerBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPServerBinding.java
new file mode 100644
index 00000000..b6097373
--- /dev/null
+++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/STOMPServerBinding.java
@@ -0,0 +1,36 @@
+package com.asyncapi.bindings.stomp;
+
+import com.asyncapi.bindings.ServerBinding;
+import com.fasterxml.jackson.annotation.JsonSubTypes;
+import com.fasterxml.jackson.annotation.JsonTypeInfo;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.NoArgsConstructor;
+
+/**
+ * This class MUST NOT contain any properties.
+ *
+ * Its name is reserved for future use.
+ *
+ * Describes STOMP server binding.
+ *
+ * @version 0.1.0
+ * @see STOMP server binding
+ * @author Pavel Bodiachevskii
+ */
+@JsonTypeInfo(
+ use = JsonTypeInfo.Id.NAME,
+ include = JsonTypeInfo.As.EXISTING_PROPERTY,
+ defaultImpl = com.asyncapi.bindings.stomp.v0._1_0.server.STOMPServerBinding.class,
+ property = "bindingVersion",
+ visible = true
+)
+@JsonSubTypes({
+ @JsonSubTypes.Type(value = com.asyncapi.bindings.stomp.v0._1_0.server.STOMPServerBinding.class, names = {
+ "0.1.0",
+ "latest"
+ }),
+})
+@Data
+@EqualsAndHashCode(callSuper = true)
+public abstract class STOMPServerBinding extends ServerBinding {}
\ No newline at end of file
diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/channel/STOMPChannelBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/channel/STOMPChannelBinding.java
index 2045091e..28493c1d 100644
--- a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/channel/STOMPChannelBinding.java
+++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/channel/STOMPChannelBinding.java
@@ -4,6 +4,7 @@
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
+import org.jetbrains.annotations.Nullable;
/**
* This class MUST NOT contain any properties.
@@ -17,7 +18,21 @@
* @author Pavel Bodiachevskii
*/
@Data
-@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
-public class STOMPChannelBinding extends ChannelBinding {
+public class STOMPChannelBinding extends com.asyncapi.bindings.stomp.STOMPChannelBinding {
+
+ public STOMPChannelBinding() {
+ this.setBindingVersion("0.1.0");
+ }
+
+ @Override
+ public String getBindingVersion() {
+ return "0.1.0";
+ }
+
+ @Override
+ public void setBindingVersion(@Nullable String bindingVersion) {
+ super.setBindingVersion("0.1.0");
+ }
+
}
diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/message/STOMPMessageBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/message/STOMPMessageBinding.java
index 43812418..5aad2ea7 100644
--- a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/message/STOMPMessageBinding.java
+++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/message/STOMPMessageBinding.java
@@ -4,6 +4,7 @@
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
+import org.jetbrains.annotations.Nullable;
/**
* This class MUST NOT contain any properties.
@@ -17,7 +18,21 @@
* @author Pavel Bodiachevskii
*/
@Data
-@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
-public class STOMPMessageBinding extends MessageBinding {
+public class STOMPMessageBinding extends com.asyncapi.bindings.stomp.STOMPMessageBinding {
+
+ public STOMPMessageBinding() {
+ this.setBindingVersion("0.1.0");
+ }
+
+ @Override
+ public String getBindingVersion() {
+ return "0.1.0";
+ }
+
+ @Override
+ public void setBindingVersion(@Nullable String bindingVersion) {
+ super.setBindingVersion("0.1.0");
+ }
+
}
diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/operation/STOMPOperationBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/operation/STOMPOperationBinding.java
index b4d15373..713ee10c 100644
--- a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/operation/STOMPOperationBinding.java
+++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/operation/STOMPOperationBinding.java
@@ -4,6 +4,7 @@
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
+import org.jetbrains.annotations.Nullable;
/**
* This class MUST NOT contain any properties.
@@ -17,7 +18,21 @@
* @author Pavel Bodiachevskii
*/
@Data
-@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
-public class STOMPOperationBinding extends OperationBinding {
+public class STOMPOperationBinding extends com.asyncapi.bindings.stomp.STOMPOperationBinding {
+
+ public STOMPOperationBinding() {
+ this.setBindingVersion("0.1.0");
+ }
+
+ @Override
+ public String getBindingVersion() {
+ return "0.1.0";
+ }
+
+ @Override
+ public void setBindingVersion(@Nullable String bindingVersion) {
+ super.setBindingVersion("0.1.0");
+ }
+
}
diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/server/STOMPServerBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/server/STOMPServerBinding.java
index 42b65412..af66ba51 100644
--- a/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/server/STOMPServerBinding.java
+++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/stomp/v0/_1_0/server/STOMPServerBinding.java
@@ -4,6 +4,7 @@
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
+import org.jetbrains.annotations.Nullable;
/**
* This class MUST NOT contain any properties.
@@ -17,7 +18,21 @@
* @author Pavel Bodiachevskii
*/
@Data
-@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
-public class STOMPServerBinding extends ServerBinding {
+public class STOMPServerBinding extends com.asyncapi.bindings.stomp.STOMPServerBinding {
+
+ public STOMPServerBinding() {
+ this.setBindingVersion("0.1.0");
+ }
+
+ @Override
+ public String getBindingVersion() {
+ return "0.1.0";
+ }
+
+ @Override
+ public void setBindingVersion(@Nullable String bindingVersion) {
+ super.setBindingVersion("0.1.0");
+ }
+
}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/BindingsTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/BindingsTest.java
index be55796a..96aeddea 100644
--- a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/BindingsTest.java
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/BindingsTest.java
@@ -1,5 +1,6 @@
package com.asyncapi.bindings;
+import com.asyncapi.bindings.stomp.STOMPTest;
import com.asyncapi.bindings.websockets.WebSocketsTest;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Nested;
@@ -7,6 +8,10 @@
@DisplayName("Bindings")
public class BindingsTest {
+ @Nested
+ @DisplayName("STOMP")
+ class STOMP extends STOMPTest {}
+
@Nested
@DisplayName("WebSockets")
class WebSockets extends WebSocketsTest {}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/STOMPTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/STOMPTest.java
new file mode 100644
index 00000000..87e14c01
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/STOMPTest.java
@@ -0,0 +1,100 @@
+package com.asyncapi.bindings.stomp;
+
+import com.asyncapi.bindings.stomp._1_0.channel.STOMPChannelBindingTest;
+import com.asyncapi.bindings.stomp._1_0.message.STOMPMessageBindingTest;
+import com.asyncapi.bindings.stomp._1_0.operation.STOMPOperationBindingTest;
+import com.asyncapi.bindings.stomp._1_0.server.STOMPServerBindingTest;
+import org.junit.jupiter.api.DisplayName;
+import org.junit.jupiter.api.Nested;
+
+public abstract class STOMPTest {
+
+ @Nested
+ @DisplayName("unknown version")
+ class UnknownVersion {
+
+ @Nested
+ @DisplayName("channel")
+ class Channel extends com.asyncapi.bindings.stomp.latest.channel.STOMPChannelBindingTest {}
+
+ @Nested
+ @DisplayName("message")
+ class Message extends com.asyncapi.bindings.stomp.latest.message.STOMPMessageBindingTest {}
+
+ @Nested
+ @DisplayName("operation")
+ class Operation extends com.asyncapi.bindings.stomp.latest.operation.STOMPOperationBindingTest {}
+
+ @Nested
+ @DisplayName("server")
+ class Server extends com.asyncapi.bindings.stomp.latest.server.STOMPServerBindingTest {}
+
+ }
+
+ @Nested
+ @DisplayName("without version")
+ class WithoutVersion {
+
+ @Nested
+ @DisplayName("channel")
+ class Channel extends com.asyncapi.bindings.stomp.withoutversion.channel.STOMPChannelBindingTest {}
+
+ @Nested
+ @DisplayName("message")
+ class Message extends com.asyncapi.bindings.stomp.withoutversion.message.STOMPMessageBindingTest {}
+
+ @Nested
+ @DisplayName("operation")
+ class Operation extends com.asyncapi.bindings.stomp.withoutversion.operation.STOMPOperationBindingTest {}
+
+ @Nested
+ @DisplayName("server")
+ class Server extends com.asyncapi.bindings.stomp.withoutversion.server.STOMPServerBindingTest {}
+
+ }
+
+ @Nested
+ @DisplayName("latest")
+ class Latest {
+
+ @Nested
+ @DisplayName("channel")
+ class Channel extends com.asyncapi.bindings.stomp.latest.channel.STOMPChannelBindingTest {}
+
+ @Nested
+ @DisplayName("message")
+ class Message extends com.asyncapi.bindings.stomp.latest.message.STOMPMessageBindingTest {}
+
+ @Nested
+ @DisplayName("operation")
+ class Operation extends com.asyncapi.bindings.stomp.latest.operation.STOMPOperationBindingTest {}
+
+ @Nested
+ @DisplayName("server")
+ class Server extends com.asyncapi.bindings.stomp.latest.server.STOMPServerBindingTest {}
+
+ }
+
+ @Nested
+ @DisplayName("0.1.0")
+ class V0_1_0 {
+
+ @Nested
+ @DisplayName("channel")
+ class Channel extends STOMPChannelBindingTest {}
+
+ @Nested
+ @DisplayName("message")
+ class Message extends STOMPMessageBindingTest {}
+
+ @Nested
+ @DisplayName("operation")
+ class Operation extends STOMPOperationBindingTest {}
+
+ @Nested
+ @DisplayName("server")
+ class Server extends STOMPServerBindingTest {}
+
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/STOMPBindingProvider.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/STOMPBindingProvider.java
new file mode 100644
index 00000000..43966b86
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/STOMPBindingProvider.java
@@ -0,0 +1,26 @@
+package com.asyncapi.bindings.stomp._1_0;
+
+import com.asyncapi.bindings.stomp.v0._1_0.channel.STOMPChannelBinding;
+import com.asyncapi.bindings.stomp.v0._1_0.message.STOMPMessageBinding;
+import com.asyncapi.bindings.stomp.v0._1_0.operation.STOMPOperationBinding;
+import com.asyncapi.bindings.stomp.v0._1_0.server.STOMPServerBinding;
+
+public class STOMPBindingProvider {
+
+ public static STOMPChannelBinding channel() {
+ return new STOMPChannelBinding();
+ }
+
+ public static STOMPMessageBinding message() {
+ return new STOMPMessageBinding();
+ }
+
+ public static STOMPOperationBinding operation() {
+ return new STOMPOperationBinding();
+ }
+
+ public static STOMPServerBinding server() {
+ return new STOMPServerBinding();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/channel/STOMPChannelBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/channel/STOMPChannelBindingTest.java
new file mode 100644
index 00000000..332e329b
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/channel/STOMPChannelBindingTest.java
@@ -0,0 +1,42 @@
+package com.asyncapi.bindings.stomp._1_0.channel;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.channel.STOMPChannelBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+import org.junit.jupiter.api.Nested;
+
+@Nested
+public abstract class STOMPChannelBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPChannelBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/0.1.0/channel/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/0.1.0/channel/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/0.1.0/channel/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPChannelBinding build() {
+ return STOMPBindingProvider.channel();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/message/STOMPMessageBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/message/STOMPMessageBindingTest.java
new file mode 100644
index 00000000..ad703feb
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/message/STOMPMessageBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp._1_0.message;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.message.STOMPMessageBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPMessageBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPMessageBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/0.1.0/message/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/0.1.0/message/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/0.1.0/message/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPMessageBinding build() {
+ return STOMPBindingProvider.message();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/operation/STOMPOperationBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/operation/STOMPOperationBindingTest.java
new file mode 100644
index 00000000..2ec8132e
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/operation/STOMPOperationBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp._1_0.operation;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.operation.STOMPOperationBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPOperationBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPOperationBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/0.1.0/operation/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/0.1.0/operation/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/0.1.0/operation/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPOperationBinding build() {
+ return STOMPBindingProvider.operation();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/server/STOMPServerBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/server/STOMPServerBindingTest.java
new file mode 100644
index 00000000..2aa5b9e6
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/_1_0/server/STOMPServerBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp._1_0.server;
+
+import com.asyncapi.ExtendableObject;
+import com.asyncapi.bindings.websockets.v0._1_0.server.WebSocketsServerBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPServerBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return WebSocketsServerBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/websockets/0.1.0/server/webSocketsServerBinding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/websockets/0.1.0/server/webSocketsServerBinding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/websockets/0.1.0/server/webSocketsServerBinding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public ExtendableObject build() {
+ return new WebSocketsServerBinding();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/channel/STOMPChannelBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/channel/STOMPChannelBindingTest.java
new file mode 100644
index 00000000..ea935842
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/channel/STOMPChannelBindingTest.java
@@ -0,0 +1,42 @@
+package com.asyncapi.bindings.stomp.latest.channel;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.channel.STOMPChannelBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+import org.junit.jupiter.api.Nested;
+
+@Nested
+public abstract class STOMPChannelBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPChannelBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/latest/channel/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/latest/channel/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/latest/channel/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPChannelBinding build() {
+ return STOMPBindingProvider.channel();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/message/STOMPMessageBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/message/STOMPMessageBindingTest.java
new file mode 100644
index 00000000..c2451216
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/message/STOMPMessageBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp.latest.message;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.message.STOMPMessageBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPMessageBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPMessageBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/latest/message/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/latest/message/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/latest/message/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPMessageBinding build() {
+ return STOMPBindingProvider.message();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/operation/STOMPOperationBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/operation/STOMPOperationBindingTest.java
new file mode 100644
index 00000000..bfaa0499
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/operation/STOMPOperationBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp.latest.operation;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.operation.STOMPOperationBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPOperationBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPOperationBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/latest/operation/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/latest/operation/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/latest/operation/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPOperationBinding build() {
+ return STOMPBindingProvider.operation();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/server/STOMPServerBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/server/STOMPServerBindingTest.java
new file mode 100644
index 00000000..a9c81e75
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/latest/server/STOMPServerBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp.latest.server;
+
+import com.asyncapi.ExtendableObject;
+import com.asyncapi.bindings.websockets.v0._1_0.server.WebSocketsServerBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPServerBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return WebSocketsServerBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/websockets/latest/server/webSocketsServerBinding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/websockets/latest/server/webSocketsServerBinding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/websockets/latest/server/webSocketsServerBinding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public ExtendableObject build() {
+ return new WebSocketsServerBinding();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/channel/STOMPChannelBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/channel/STOMPChannelBindingTest.java
new file mode 100644
index 00000000..f3d2fd87
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/channel/STOMPChannelBindingTest.java
@@ -0,0 +1,42 @@
+package com.asyncapi.bindings.stomp.unknownversion.channel;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.channel.STOMPChannelBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+import org.junit.jupiter.api.Nested;
+
+@Nested
+public abstract class STOMPChannelBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPChannelBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/unknown version/channel/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/unknown version/channel/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/unknown version/channel/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPChannelBinding build() {
+ return STOMPBindingProvider.channel();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/message/STOMPMessageBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/message/STOMPMessageBindingTest.java
new file mode 100644
index 00000000..75f218bd
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/message/STOMPMessageBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp.unknownversion.message;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.message.STOMPMessageBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPMessageBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPMessageBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/without version/message/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/without version/message/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/without version/message/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPMessageBinding build() {
+ return STOMPBindingProvider.message();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/operation/STOMPOperationBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/operation/STOMPOperationBindingTest.java
new file mode 100644
index 00000000..e97f37bf
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/operation/STOMPOperationBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp.unknownversion.operation;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.operation.STOMPOperationBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPOperationBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPOperationBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/without version/operation/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/without version/operation/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/without version/operation/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPOperationBinding build() {
+ return STOMPBindingProvider.operation();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/server/STOMPServerBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/server/STOMPServerBindingTest.java
new file mode 100644
index 00000000..1034f074
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/unknownversion/server/STOMPServerBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp.unknownversion.server;
+
+import com.asyncapi.ExtendableObject;
+import com.asyncapi.bindings.websockets.v0._1_0.server.WebSocketsServerBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPServerBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return WebSocketsServerBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/websockets/without version/server/webSocketsServerBinding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/websockets/without version/server/webSocketsServerBinding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/websockets/without version/server/webSocketsServerBinding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public ExtendableObject build() {
+ return new WebSocketsServerBinding();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/channel/STOMPChannelBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/channel/STOMPChannelBindingTest.java
new file mode 100644
index 00000000..e12d2e1f
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/channel/STOMPChannelBindingTest.java
@@ -0,0 +1,42 @@
+package com.asyncapi.bindings.stomp.withoutversion.channel;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.channel.STOMPChannelBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+import org.junit.jupiter.api.Nested;
+
+@Nested
+public abstract class STOMPChannelBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPChannelBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/without version/channel/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/without version/channel/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/without version/channel/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPChannelBinding build() {
+ return STOMPBindingProvider.channel();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/message/STOMPMessageBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/message/STOMPMessageBindingTest.java
new file mode 100644
index 00000000..8d5ec799
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/message/STOMPMessageBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp.withoutversion.message;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.message.STOMPMessageBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPMessageBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPMessageBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/without version/message/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/without version/message/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/without version/message/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPMessageBinding build() {
+ return STOMPBindingProvider.message();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/operation/STOMPOperationBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/operation/STOMPOperationBindingTest.java
new file mode 100644
index 00000000..21c6c05b
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/operation/STOMPOperationBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp.withoutversion.operation;
+
+import com.asyncapi.bindings.stomp._1_0.STOMPBindingProvider;
+import com.asyncapi.bindings.stomp.v0._1_0.operation.STOMPOperationBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPOperationBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return STOMPOperationBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/stomp/without version/operation/binding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/stomp/without version/operation/binding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/stomp/without version/operation/binding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public STOMPOperationBinding build() {
+ return STOMPBindingProvider.operation();
+ }
+
+}
diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/server/STOMPServerBindingTest.java b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/server/STOMPServerBindingTest.java
new file mode 100644
index 00000000..bc6e0152
--- /dev/null
+++ b/asyncapi-core/src/test/kotlin/com/asyncapi/bindings/stomp/withoutversion/server/STOMPServerBindingTest.java
@@ -0,0 +1,40 @@
+package com.asyncapi.bindings.stomp.withoutversion.server;
+
+import com.asyncapi.ExtendableObject;
+import com.asyncapi.bindings.websockets.v0._1_0.server.WebSocketsServerBinding;
+import com.asyncapi.v3.SerDeTest;
+import org.jetbrains.annotations.NotNull;
+
+public abstract class STOMPServerBindingTest extends SerDeTest {
+
+ @NotNull
+ @Override
+ protected Class objectClass() {
+ return WebSocketsServerBinding.class;
+ }
+
+ @NotNull
+ @Override
+ protected String baseObjectJson() {
+ return "/bindings/websockets/without version/server/webSocketsServerBinding.json";
+ }
+
+ @NotNull
+ @Override
+ protected String extendedObjectJson() {
+ return "/bindings/websockets/without version/server/webSocketsServerBinding - extended.json";
+ }
+
+ @NotNull
+ @Override
+ protected String wronglyExtendedObjectJson() {
+ return "/bindings/websockets/without version/server/webSocketsServerBinding - wrongly extended.json";
+ }
+
+ @NotNull
+ @Override
+ public ExtendableObject build() {
+ return new WebSocketsServerBinding();
+ }
+
+}
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/channel/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/channel/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/channel/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/channel/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/channel/binding - wrongly extended.json
new file mode 100644
index 00000000..a1ecfd51
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/channel/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "0.1.0",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/channel/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/channel/binding.json
new file mode 100644
index 00000000..04dbf945
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/channel/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "0.1.0"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/message/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/message/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/message/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/message/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/message/binding - wrongly extended.json
new file mode 100644
index 00000000..a1ecfd51
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/message/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "0.1.0",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/message/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/message/binding.json
new file mode 100644
index 00000000..04dbf945
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/message/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "0.1.0"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/operation/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/operation/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/operation/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/operation/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/operation/binding - wrongly extended.json
new file mode 100644
index 00000000..a1ecfd51
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/operation/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "0.1.0",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/operation/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/operation/binding.json
new file mode 100644
index 00000000..04dbf945
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/operation/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "0.1.0"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/server/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/server/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/server/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/server/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/server/binding - wrongly extended.json
new file mode 100644
index 00000000..a1ecfd51
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/server/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "0.1.0",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/server/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/server/binding.json
new file mode 100644
index 00000000..04dbf945
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/0.1.0/server/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "0.1.0"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/channel/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/channel/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/channel/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/channel/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/channel/binding - wrongly extended.json
new file mode 100644
index 00000000..18560ee8
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/channel/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "latest",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/channel/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/channel/binding.json
new file mode 100644
index 00000000..cdf165f6
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/channel/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "latest"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/message/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/message/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/message/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/message/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/message/binding - wrongly extended.json
new file mode 100644
index 00000000..18560ee8
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/message/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "latest",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/message/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/message/binding.json
new file mode 100644
index 00000000..cdf165f6
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/message/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "latest"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/operation/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/operation/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/operation/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/operation/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/operation/binding - wrongly extended.json
new file mode 100644
index 00000000..18560ee8
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/operation/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "latest",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/operation/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/operation/binding.json
new file mode 100644
index 00000000..cdf165f6
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/operation/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "latest"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/server/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/server/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/server/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/server/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/server/binding - wrongly extended.json
new file mode 100644
index 00000000..18560ee8
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/server/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "latest",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/latest/server/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/latest/server/binding.json
new file mode 100644
index 00000000..cdf165f6
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/latest/server/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "latest"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/channel/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/channel/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/channel/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/channel/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/channel/binding - wrongly extended.json
new file mode 100644
index 00000000..62eff98f
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/channel/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "0.199.36",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/channel/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/channel/binding.json
new file mode 100644
index 00000000..1394045a
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/channel/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "0.199.36"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/message/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/message/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/message/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/message/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/message/binding - wrongly extended.json
new file mode 100644
index 00000000..62eff98f
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/message/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "0.199.36",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/message/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/message/binding.json
new file mode 100644
index 00000000..1394045a
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/message/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "0.199.36"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/operation/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/operation/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/operation/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/operation/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/operation/binding - wrongly extended.json
new file mode 100644
index 00000000..62eff98f
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/operation/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "0.199.36",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/operation/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/operation/binding.json
new file mode 100644
index 00000000..1394045a
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/operation/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "0.199.36"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/server/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/server/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/server/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/server/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/server/binding - wrongly extended.json
new file mode 100644
index 00000000..62eff98f
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/server/binding - wrongly extended.json
@@ -0,0 +1,9 @@
+{
+ "bindingVersion": "0.199.36",
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/unknown version/server/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/server/binding.json
new file mode 100644
index 00000000..1394045a
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/unknown version/server/binding.json
@@ -0,0 +1,3 @@
+{
+ "bindingVersion": "0.199.36"
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/channel/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/channel/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/channel/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/channel/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/channel/binding - wrongly extended.json
new file mode 100644
index 00000000..a16bbdf8
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/channel/binding - wrongly extended.json
@@ -0,0 +1,8 @@
+{
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/channel/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/channel/binding.json
new file mode 100644
index 00000000..9e26dfee
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/channel/binding.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/message/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/message/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/message/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/message/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/message/binding - wrongly extended.json
new file mode 100644
index 00000000..a16bbdf8
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/message/binding - wrongly extended.json
@@ -0,0 +1,8 @@
+{
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/message/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/message/binding.json
new file mode 100644
index 00000000..9e26dfee
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/message/binding.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/operation/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/operation/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/operation/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/operation/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/operation/binding - wrongly extended.json
new file mode 100644
index 00000000..a16bbdf8
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/operation/binding - wrongly extended.json
@@ -0,0 +1,8 @@
+{
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/operation/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/operation/binding.json
new file mode 100644
index 00000000..9e26dfee
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/operation/binding.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/server/binding - extended.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/server/binding - extended.json
new file mode 100644
index 00000000..32459b79
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/server/binding - extended.json
@@ -0,0 +1,8 @@
+{
+ "bindingVersion" : "0.1.0",
+ "x-number" : 0,
+ "x-string" : "",
+ "x-object" : {
+ "property" : { }
+ }
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/server/binding - wrongly extended.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/server/binding - wrongly extended.json
new file mode 100644
index 00000000..a16bbdf8
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/server/binding - wrongly extended.json
@@ -0,0 +1,8 @@
+{
+ "x-number": 0,
+ "x-string": "",
+ "x-object": {
+ "property": {}
+ },
+ "ext-number": 1
+}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/bindings/stomp/without version/server/binding.json b/asyncapi-core/src/test/resources/bindings/stomp/without version/server/binding.json
new file mode 100644
index 00000000..9e26dfee
--- /dev/null
+++ b/asyncapi-core/src/test/resources/bindings/stomp/without version/server/binding.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/asyncapi - extended.json b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/asyncapi - extended.json
index 4ef8cbc0..4cf6af90 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/asyncapi - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/asyncapi - extended.json
@@ -84,7 +84,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -196,7 +198,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -305,7 +309,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -417,7 +423,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -526,7 +534,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -645,7 +655,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -767,7 +779,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0",
"method" : "GET",
@@ -937,7 +951,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -1177,7 +1193,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -1287,7 +1305,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -1356,7 +1376,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -1450,7 +1472,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0",
"method" : "GET",
@@ -1560,7 +1584,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -1632,7 +1658,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/channelItem - extended.json b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/channelItem - extended.json
index 69c351b6..cb83162e 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/channelItem - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/channelItem - extended.json
@@ -102,7 +102,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -211,7 +213,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -323,7 +327,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -432,7 +438,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -551,7 +559,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -673,7 +683,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0",
"method" : "GET",
diff --git a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/message/message - extended.json b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/message/message - extended.json
index b832d79b..526a4f01 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/message/message - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/message/message - extended.json
@@ -111,7 +111,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/message/messageTrait - extended.json b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/message/messageTrait - extended.json
index 7caac6e1..5fa95054 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/message/messageTrait - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/message/messageTrait - extended.json
@@ -100,7 +100,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operation with message - extended.json b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operation with message - extended.json
index aa5768ea..9876351f 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operation with message - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operation with message - extended.json
@@ -100,7 +100,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -209,7 +211,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -328,7 +332,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operation with reference to message - extended.json b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operation with reference to message - extended.json
index 449cd6d9..a8a7dc0f 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operation with reference to message - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operation with reference to message - extended.json
@@ -100,7 +100,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -209,7 +211,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operationTrait - extended.json b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operationTrait - extended.json
index cc042b31..e0f5d9ac 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operationTrait - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/channel/operation/operationTrait - extended.json
@@ -100,7 +100,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/components/components - extended.json b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/components/components - extended.json
index b62ca9b7..5d663e33 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/components/components - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/components/components - extended.json
@@ -142,7 +142,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -382,7 +384,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -492,7 +496,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -561,7 +567,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -655,7 +663,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0",
"method" : "GET",
@@ -765,7 +775,9 @@
} ]
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -837,7 +849,9 @@
"sns" : { },
"solace" : { },
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/server/server - extended.json b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/server/server - extended.json
index cfdb63ab..686d5c96 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.0.0/model/server/server - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.0.0/model/server/server - extended.json
@@ -64,7 +64,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.6.0/model/asyncapi - extended.json b/asyncapi-core/src/test/resources/json/v2/2.6.0/model/asyncapi - extended.json
index 97d54c5e..bdd6f83b 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.6.0/model/asyncapi - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.6.0/model/asyncapi - extended.json
@@ -93,7 +93,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -1233,7 +1235,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -2905,7 +2909,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.6.0/model/components/components - extended.json b/asyncapi-core/src/test/resources/json/v2/2.6.0/model/components/components - extended.json
index 86e6aa0b..b73c64a0 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.6.0/model/components/components - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.6.0/model/components/components - extended.json
@@ -105,7 +105,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -1777,7 +1779,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v2/2.6.0/model/server/server - extended.json b/asyncapi-core/src/test/resources/json/v2/2.6.0/model/server/server - extended.json
index 12a11e84..38dcdecc 100644
--- a/asyncapi-core/src/test/resources/json/v2/2.6.0/model/server/server - extended.json
+++ b/asyncapi-core/src/test/resources/json/v2/2.6.0/model/server/server - extended.json
@@ -74,7 +74,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v3/3.0.0/model/asyncapi - extended.json b/asyncapi-core/src/test/resources/json/v3/3.0.0/model/asyncapi - extended.json
index 57070621..01a2b72c 100644
--- a/asyncapi-core/src/test/resources/json/v3/3.0.0/model/asyncapi - extended.json
+++ b/asyncapi-core/src/test/resources/json/v3/3.0.0/model/asyncapi - extended.json
@@ -120,7 +120,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -219,7 +221,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -5082,7 +5086,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -12497,7 +12503,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v3/3.0.0/model/components/components - extended.json b/asyncapi-core/src/test/resources/json/v3/3.0.0/model/components/components - extended.json
index 40798ec1..f0809a82 100644
--- a/asyncapi-core/src/test/resources/json/v3/3.0.0/model/components/components - extended.json
+++ b/asyncapi-core/src/test/resources/json/v3/3.0.0/model/components/components - extended.json
@@ -122,7 +122,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
@@ -7537,7 +7539,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v3/3.0.0/model/server/server - extended.json b/asyncapi-core/src/test/resources/json/v3/3.0.0/model/server/server - extended.json
index 320da9c6..93fd15f5 100644
--- a/asyncapi-core/src/test/resources/json/v3/3.0.0/model/server/server - extended.json
+++ b/asyncapi-core/src/test/resources/json/v3/3.0.0/model/server/server - extended.json
@@ -88,7 +88,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}
diff --git a/asyncapi-core/src/test/resources/json/v3/3.0.0/model/server/server with reference - extended.json b/asyncapi-core/src/test/resources/json/v3/3.0.0/model/server/server with reference - extended.json
index 63529cd1..bcbcac71 100644
--- a/asyncapi-core/src/test/resources/json/v3/3.0.0/model/server/server with reference - extended.json
+++ b/asyncapi-core/src/test/resources/json/v3/3.0.0/model/server/server with reference - extended.json
@@ -91,7 +91,9 @@
"msgVpn" : "solace.private.net"
},
"sqs" : { },
- "stomp" : { },
+ "stomp" : {
+ "bindingVersion" : "0.1.0"
+ },
"ws" : {
"bindingVersion" : "0.1.0"
}