From 5542b45a7c63d6397a15d1466a6fc029c1f1ed10 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Wed, 28 Jul 2021 14:07:54 +0200 Subject: [PATCH 01/14] Added new security types --- .../Security Scheme Object/gssapi/valid.yaml | 24 +++++++++++++++++++ .../Security Scheme Object/plain/valid.yaml | 24 +++++++++++++++++++ .../scramSha256/valid.yaml | 24 +++++++++++++++++++ .../scramSha512/valid.yaml | 24 +++++++++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 tests/asyncapi-2.1/Security Scheme Object/gssapi/valid.yaml create mode 100644 tests/asyncapi-2.1/Security Scheme Object/plain/valid.yaml create mode 100644 tests/asyncapi-2.1/Security Scheme Object/scramSha256/valid.yaml create mode 100644 tests/asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml diff --git a/tests/asyncapi-2.1/Security Scheme Object/gssapi/valid.yaml b/tests/asyncapi-2.1/Security Scheme Object/gssapi/valid.yaml new file mode 100644 index 00000000..2d08a9f6 --- /dev/null +++ b/tests/asyncapi-2.1/Security Scheme Object/gssapi/valid.yaml @@ -0,0 +1,24 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + message: + payload: + type: string + +servers: + production: + url: development.gigantic-server.com + protocol: kafka + security: + - mainSecurity: [] + +components: + securitySchemes: + mainSecurity: + type: gssapi diff --git a/tests/asyncapi-2.1/Security Scheme Object/plain/valid.yaml b/tests/asyncapi-2.1/Security Scheme Object/plain/valid.yaml new file mode 100644 index 00000000..de4c6cd9 --- /dev/null +++ b/tests/asyncapi-2.1/Security Scheme Object/plain/valid.yaml @@ -0,0 +1,24 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + message: + payload: + type: string + +servers: + production: + url: development.gigantic-server.com + protocol: kafka + security: + - mainSecurity: [] + +components: + securitySchemes: + mainSecurity: + type: plain diff --git a/tests/asyncapi-2.1/Security Scheme Object/scramSha256/valid.yaml b/tests/asyncapi-2.1/Security Scheme Object/scramSha256/valid.yaml new file mode 100644 index 00000000..bc3a7ba8 --- /dev/null +++ b/tests/asyncapi-2.1/Security Scheme Object/scramSha256/valid.yaml @@ -0,0 +1,24 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + message: + payload: + type: string + +servers: + production: + url: development.gigantic-server.com + protocol: kafka + security: + - mainSecurity: [] + +components: + securitySchemes: + mainSecurity: + type: scramSha512 diff --git a/tests/asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml b/tests/asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml new file mode 100644 index 00000000..98fa9a2d --- /dev/null +++ b/tests/asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml @@ -0,0 +1,24 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + message: + payload: + type: string + +servers: + production: + url: development.gigantic-server.com + protocol: kafka + security: + - mainSecurity: [] + +components: + securitySchemes: + mainSecurity: + type: scramSha256 From 12e13b5df6c8b30d6a7e2900b6c26ae28eb6f8fa Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Wed, 28 Jul 2021 14:08:15 +0200 Subject: [PATCH 02/14] added IBMMQ server binding tests --- .../invalid-heartbeat-interval.yaml | 25 ++++++++++++++++++ .../ibmmq/0.1.0/invalid-extra-properties.yaml | 26 +++++++++++++++++++ .../ibmmq/0.1.0/valid.yaml | 25 ++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml create mode 100644 tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml create mode 100644 tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml b/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml new file mode 100644 index 00000000..49e3f892 --- /dev/null +++ b/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml @@ -0,0 +1,25 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + message: + payload: + type: string + +servers: + production: + url: ibmmq://qmgr1host:1414/qm1/DEV.APP.SVRCONN + protocol: ibmmq + bindings: + ibmmq: + groupId: PRODCLSTR1 + cipherSpec: ANY_TLS12_OR_HIGHER + ccdtQueueManagerName: qm1 + multiEndpointServer: true + heartBeatInterval: 1000000 + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml b/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml new file mode 100644 index 00000000..d7ba5d71 --- /dev/null +++ b/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml @@ -0,0 +1,26 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + message: + payload: + type: string + +servers: + production: + url: ibmmq://qmgr1host:1414/qm1/DEV.APP.SVRCONN + protocol: ibmmq + bindings: + ibmmq: + hello: 1 + groupId: PRODCLSTR1 + cipherSpec: ANY_TLS12_OR_HIGHER + ccdtQueueManagerName: qm1 + multiEndpointServer: true + heartBeatInterval: 1337 + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/valid.yaml b/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/valid.yaml new file mode 100644 index 00000000..fffc6a69 --- /dev/null +++ b/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/valid.yaml @@ -0,0 +1,25 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + message: + payload: + type: string + +servers: + production: + url: ibmmq://qmgr1host:1414/qm1/DEV.APP.SVRCONN + protocol: ibmmq + bindings: + ibmmq: + groupId: PRODCLSTR1 + cipherSpec: ANY_TLS12_OR_HIGHER + ccdtQueueManagerName: qm1 + multiEndpointServer: true + heartBeatInterval: 1337 + bindingVersion: 0.1.0 \ No newline at end of file From 1ec1f44cd883c0e08bd489ef8f63cdc78fe2ee58 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Wed, 28 Jul 2021 14:09:42 +0200 Subject: [PATCH 03/14] Added new message example --- tests/asyncapi-2.1/Message Object/valid.yaml | 56 +++++++++++++++++ .../Message Trait Object/valid.yaml | 61 +++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 tests/asyncapi-2.1/Message Object/valid.yaml create mode 100644 tests/asyncapi-2.1/Message Trait Object/valid.yaml diff --git a/tests/asyncapi-2.1/Message Object/valid.yaml b/tests/asyncapi-2.1/Message Object/valid.yaml new file mode 100644 index 00000000..f5ac0846 --- /dev/null +++ b/tests/asyncapi-2.1/Message Object/valid.yaml @@ -0,0 +1,56 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + operationId: userSignedUp + summary: user signed up + description: user signed up to load some data + message: + name: UserSignup + title: User signup + summary: Action to sign a user up. + description: A longer description + contentType: application/json + schemaFormat: application/vnd.aai.asyncapi;version=2.0.0 + correlationId: + description: Default Correlation ID + location: $message.header#/correlationId + headers: + type: object + properties: + correlationId: + description: Correlation ID set by application + type: string + applicationInstanceId: + description: Unique identifier for a given instance of the publishing application + type: string + tags: + - name: user + description: user signed up + - name: signup + externalDocs: + description: Find more info here + url: https://example.com + payload: + type: object + properties: + email: + type: string + format: email + examples: + - name: Example 1 + summary: Example summary for example 1 + payload: + email: hello@foo.bar + headers: + correlationId: some id + applicationInstanceId: other id + - name: Example 2 + summary: Example summary for example 2 + payload: + email: bye@foo.bar \ No newline at end of file diff --git a/tests/asyncapi-2.1/Message Trait Object/valid.yaml b/tests/asyncapi-2.1/Message Trait Object/valid.yaml new file mode 100644 index 00000000..44801ddb --- /dev/null +++ b/tests/asyncapi-2.1/Message Trait Object/valid.yaml @@ -0,0 +1,61 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + operationId: userSignedUp + summary: user signed up + description: user signed up to load some data + message: + payload: + type: object + properties: + email: + type: string + format: email + traits: + - $ref: "#/components/messageTraits/signedUpMessage" + +components: + messageTraits: + signedUpMessage: + tags: + - name: user + description: user signed up + - name: signup + externalDocs: + description: Find more info here + url: https://example.com + name: UserSignup + title: User signup + summary: Action to sign a user up. + description: A longer description + contentType: application/json + correlationId: + description: Default Correlation ID + location: $message.header#/correlationId + headers: + type: object + properties: + correlationId: + description: Correlation ID set by application + type: string + applicationInstanceId: + description: Unique identifier for a given instance of the publishing application + type: string + examples: + - name: Example 1 + summary: Example summary for example 1 + payload: + email: hello@foo.bar + headers: + correlationId: some id + applicationInstanceId: other id + - name: Example 2 + summary: Example summary for example 2 + payload: + email: bye@foo.bar \ No newline at end of file From 0bb37b5e253c3e1603b217c16504432fb26307f0 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Thu, 29 Jul 2021 17:12:21 +0200 Subject: [PATCH 04/14] Added ibmmq binding documents --- .../invalid-binding-version-type.yaml | 16 ++++++++++++ .../invalid-destination-type.yaml | 16 ++++++++++++ .../invalid-max-msg-length-type.yaml | 16 ++++++++++++ .../invalid-queue-exclusive-type.yaml | 18 +++++++++++++ .../invalid-queue-is-partitioned-type.yaml | 18 +++++++++++++ .../invalid-queue-required-objectName.yaml | 17 ++++++++++++ .../invalid-topic-durable-permitted-type.yaml | 18 +++++++++++++ .../invalid-topic-last-msg-retained-type.yaml | 18 +++++++++++++ .../ibmmq/invalid-both-types.yaml | 26 +++++++++++++++++++ .../ibmmq/valid-queue.yaml | 21 +++++++++++++++ .../ibmmq/valid-topic.yaml | 22 ++++++++++++++++ .../invalid-binding-version-type.yaml | 16 ++++++++++++ .../Fields Types/invalid-expiry-value.yaml | 16 ++++++++++++ .../ibmmq/Fields Types/invalid-type-type.yaml | 16 ++++++++++++ .../Fields Types/invalid-type-value.yaml | 16 ++++++++++++ .../Message Bindings Object/ibmmq/valid.yaml | 19 ++++++++++++++ 16 files changed, 289 insertions(+) create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-destination-type.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-max-msg-length-type.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-exclusive-type.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-is-partitioned-type.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-required-objectName.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-durable-permitted-type.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-last-msg-retained-type.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/invalid-both-types.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-queue.yaml create mode 100644 tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-topic.yaml create mode 100644 tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml create mode 100644 tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-expiry-value.yaml create mode 100644 tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-type.yaml create mode 100644 tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-value.yaml create mode 100644 tests/asyncapi-2.1/Message Bindings Object/ibmmq/valid.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml new file mode 100644 index 00000000..6b1f89df --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml @@ -0,0 +1,16 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + bindingVersion: + prop: 1 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-destination-type.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-destination-type.yaml new file mode 100644 index 00000000..cbd5f1be --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-destination-type.yaml @@ -0,0 +1,16 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + destinationType: someothertype + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-max-msg-length-type.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-max-msg-length-type.yaml new file mode 100644 index 00000000..994aa14c --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-max-msg-length-type.yaml @@ -0,0 +1,16 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + maxMsgLength: wrong + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-exclusive-type.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-exclusive-type.yaml new file mode 100644 index 00000000..1231db72 --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-exclusive-type.yaml @@ -0,0 +1,18 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + destinationType: queue + queue: + exclusive: wrong + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-is-partitioned-type.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-is-partitioned-type.yaml new file mode 100644 index 00000000..3a5ea3da --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-is-partitioned-type.yaml @@ -0,0 +1,18 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + destinationType: queue + queue: + isPartitioned: wrong + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-required-objectName.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-required-objectName.yaml new file mode 100644 index 00000000..fdc4d016 --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-required-objectName.yaml @@ -0,0 +1,17 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + destinationType: queue + queue: + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-durable-permitted-type.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-durable-permitted-type.yaml new file mode 100644 index 00000000..6f337f15 --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-durable-permitted-type.yaml @@ -0,0 +1,18 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + destinationType: topic + queue: + durablePermitted: wrong + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-last-msg-retained-type.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-last-msg-retained-type.yaml new file mode 100644 index 00000000..6de60cdf --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-last-msg-retained-type.yaml @@ -0,0 +1,18 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + destinationType: topic + queue: + lastMsgRetained: wrong + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/invalid-both-types.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/invalid-both-types.yaml new file mode 100644 index 00000000..871027b3 --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/invalid-both-types.yaml @@ -0,0 +1,26 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + maxMsgLength: 0 + destinationType: queue + queue: + objectName: myQueueName + exclusive: true + isPartitioned: true + topic: + objectName: myTopicName + string: some string + durablePermitted: true + lastMsgRetained: true + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-queue.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-queue.yaml new file mode 100644 index 00000000..48f6154d --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-queue.yaml @@ -0,0 +1,21 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + maxMsgLength: 0 + destinationType: queue + queue: + objectName: myQueueName + exclusive: true + isPartitioned: true + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-topic.yaml b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-topic.yaml new file mode 100644 index 00000000..91873807 --- /dev/null +++ b/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-topic.yaml @@ -0,0 +1,22 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + maxMsgLength: 0 + destinationType: topic + topic: + objectName: myTopicName + string: some string + durablePermitted: true + lastMsgRetained: true + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml new file mode 100644 index 00000000..6b1f89df --- /dev/null +++ b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml @@ -0,0 +1,16 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + bindingVersion: + prop: 1 diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-expiry-value.yaml b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-expiry-value.yaml new file mode 100644 index 00000000..d6e129b7 --- /dev/null +++ b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-expiry-value.yaml @@ -0,0 +1,16 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + expiry: -1 + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-type.yaml b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-type.yaml new file mode 100644 index 00000000..a993ef9a --- /dev/null +++ b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-type.yaml @@ -0,0 +1,16 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + type: 123 + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-value.yaml b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-value.yaml new file mode 100644 index 00000000..77d524de --- /dev/null +++ b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-value.yaml @@ -0,0 +1,16 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + type: somenonexisting + bindingVersion: 0.1.0 diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/valid.yaml b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/valid.yaml new file mode 100644 index 00000000..776c2359 --- /dev/null +++ b/tests/asyncapi-2.1/Message Bindings Object/ibmmq/valid.yaml @@ -0,0 +1,19 @@ +asyncapi: 2.0.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + publish: + message: + payload: + type: string + bindings: + ibmmq: + type: binary + headers: TestHeader + description: test description + expiry: 1 + bindingVersion: 0.1.0 \ No newline at end of file From 40e8077246fa627f6b33243786785628cd1eba65 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Thu, 29 Jul 2021 17:13:42 +0200 Subject: [PATCH 05/14] re-organized file structure for bindings --- .../amqp/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../0.1.0}/Fields Types/invalid-exchange-autoDelete-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-exchange-durable-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-exchange-name-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-exchange-type-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-exchange-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-exchange-vhost-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-is-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-queue-autoDelete-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-queue-durable-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-queue-exclusive-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-queue-name-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-queue-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-queue-vhost-type.yaml | 0 .../amqp/0.1.0}/invalid-exchange-name-length.yaml.yaml | 0 .../amqp/0.1.0}/invalid-exchange-type.yaml | 0 .../Channel Bindings Object/amqp/0.1.0}/invalid-is-value.yaml | 0 .../amqp/0.1.0}/invalid-queue-name-length.yaml | 0 .../Channel Bindings Object/amqp/0.1.0}/valid.yaml | 0 .../ibmmq/0.1.0}/Fields Types/invalid-binding-version-type.yaml | 0 .../ibmmq/0.1.0}/Fields Types/invalid-destination-type.yaml | 0 .../ibmmq/0.1.0}/Fields Types/invalid-max-msg-length-type.yaml | 0 .../ibmmq/0.1.0}/Fields Types/invalid-queue-exclusive-type.yaml | 0 .../0.1.0}/Fields Types/invalid-queue-is-partitioned-type.yaml | 0 .../0.1.0}/Fields Types/invalid-queue-required-objectName.yaml | 0 .../0.1.0}/Fields Types/invalid-topic-durable-permitted-type.yaml | 0 .../0.1.0}/Fields Types/invalid-topic-last-msg-retained-type.yaml | 0 .../Channel Bindings Object/ibmmq/0.1.0}/invalid-both-types.yaml | 0 .../Channel Bindings Object/ibmmq/0.1.0}/valid-queue.yaml | 0 .../Channel Bindings Object/ibmmq/0.1.0}/valid-topic.yaml | 0 .../Channel Bindings Object/valid-empty-object.yaml | 0 .../ws/1.1.1}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../ws/1.1.1}/Fields Types/invalid-headers-type.yaml | 0 .../ws/1.1.1}/Fields Types/invalid-method-type.yaml | 0 .../ws/1.1.1}/Fields Types/invalid-query-type.yaml | 0 .../ws/1.1.1}/invalid-extra-properties.yaml | 0 .../Channel Bindings Object/ws/1.1.1}/invalid-headers-type.yaml | 0 .../Channel Bindings Object/ws/1.1.1}/invalid-method.yaml | 0 .../Channel Bindings Object/ws/1.1.1}/invalid-query-type.yaml | 0 .../ws => bindings/Channel Bindings Object/ws/1.1.1}/valid.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-contentEncoding-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-messageType-type.yaml | 0 .../amqp/0.1.0}/invalid-extra-properties.yaml | 0 .../Message Bindings Object/amqp/0.1.0}/valid.yaml | 0 .../http/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../http/0.1.0}/Fields Types/invalid-headers-type.yaml | 0 .../http/0.1.0}/invalid-extra-properties.yaml | 0 .../Message Bindings Object/http/0.1.0}/invalid-headers-type.yaml | 0 .../Message Bindings Object/http/0.1.0}/valid.yaml | 0 .../ibmmq/0.1.0}/Fields Types/invalid-binding-version-type.yaml | 0 .../ibmmq/0.1.0}/Fields Types/invalid-expiry-value.yaml | 0 .../ibmmq/0.1.0}/Fields Types/invalid-type-type.yaml | 0 .../ibmmq/0.1.0}/Fields Types/invalid-type-value.yaml | 0 .../Message Bindings Object/ibmmq/0.1.0}/valid.yaml | 0 .../kafka/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../kafka/0.1.0}/Fields Types/invalid-key-type.yaml | 0 .../kafka/0.1.0}/invalid-extra-properties.yaml | 0 .../Message Bindings Object/kafka/0.1.0}/valid.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../mqtt/0.1.0}/invalid-extra-properties.yaml | 0 .../Message Bindings Object/mqtt/0.1.0}/valid.yaml | 0 .../Message Bindings Object/valid-empty-object.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-ack-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-bcc-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-cc-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-deliveryMode-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-expiration-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-mandatory-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-priority-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-replyTo-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-timestamp-type.yaml | 0 .../amqp/0.1.0}/Fields Types/invalid-userId-type.yaml | 0 .../amqp/0.1.0}/invalid-deliveryMode-value.yaml | 0 .../amqp/0.1.0}/invalid-expiration-below-zero.yaml | 0 .../amqp/0.1.0}/invalid-extra-properties.yaml | 0 .../Operation Bindings Object/amqp/0.1.0}/valid.yaml | 0 .../http/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../http/0.1.0}/Fields Types/invalid-method-type.yaml | 0 .../http/0.1.0}/Fields Types/invalid-query-type.yaml | 0 .../http/0.1.0}/Fields Types/invalid-type-type.yaml | 0 .../http/0.1.0}/invalid-method-value.yaml | 0 .../http/0.1.0}/invalid-missing-type.yaml | 0 .../http/0.1.0}/invalid-query-schema-type.yaml | 0 .../Operation Bindings Object/http/0.1.0}/invalid-type-value.yaml | 0 .../Operation Bindings Object/http/0.1.0}/valid.yaml | 0 .../kafka/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../kafka/0.1.0}/Fields Types/invalid-clientId-type.yaml | 0 .../kafka/0.1.0}/Fields Types/invalid-groupId-type.yaml | 0 .../kafka/0.1.0}/invalid-extra-properties.yaml | 0 .../Operation Bindings Object/kafka/0.1.0}/valid.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-qos-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-retain-type.yaml | 0 .../mqtt/0.1.0}/invalid-extra-properties.yaml | 0 .../Operation Bindings Object/mqtt/0.1.0}/invalid-qos-value.yaml | 0 .../Operation Bindings Object/mqtt/0.1.0}/valid.yaml | 0 .../Operation Bindings Object/valid-empty-object.yaml | 0 .../ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml | 0 .../ibmmq/0.1.0/invalid-extra-properties.yaml | 0 .../Server Bindings Object/ibmmq/0.1.0/valid.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-cleanSession-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-clientId-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-keepAlive-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-lastWill-message-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-lastWill-qos-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-lastWill-retain-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-lastWill-topic-type.yaml | 0 .../mqtt/0.1.0}/Fields Types/invalid-lastWill-type.yaml | 0 .../mqtt/0.1.0}/invalid-extra-properties.yaml | 0 .../Server Bindings Object/mqtt/0.1.0}/valid.yaml | 0 .../Server Bindings Object/valid-empty-object.yaml | 0 114 files changed, 0 insertions(+), 0 deletions(-) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-exchange-autoDelete-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-exchange-durable-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-exchange-name-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-exchange-type-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-exchange-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-exchange-vhost-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-is-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-queue-autoDelete-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-queue-durable-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-queue-exclusive-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-queue-name-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-queue-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/Fields Types/invalid-queue-vhost-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/invalid-exchange-name-length.yaml.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/invalid-exchange-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/invalid-is-value.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/invalid-queue-name-length.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/amqp => bindings/Channel Bindings Object/amqp/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-binding-version-type.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-destination-type.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-max-msg-length-type.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-queue-exclusive-type.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-queue-is-partitioned-type.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-queue-required-objectName.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-topic-durable-permitted-type.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-topic-last-msg-retained-type.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/invalid-both-types.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/valid-queue.yaml (100%) rename tests/{asyncapi-2.1/Channel Bindings Object/ibmmq => bindings/Channel Bindings Object/ibmmq/0.1.0}/valid-topic.yaml (100%) rename tests/{asyncapi-2.0 => bindings}/Channel Bindings Object/valid-empty-object.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/ws => bindings/Channel Bindings Object/ws/1.1.1}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/ws => bindings/Channel Bindings Object/ws/1.1.1}/Fields Types/invalid-headers-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/ws => bindings/Channel Bindings Object/ws/1.1.1}/Fields Types/invalid-method-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/ws => bindings/Channel Bindings Object/ws/1.1.1}/Fields Types/invalid-query-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/ws => bindings/Channel Bindings Object/ws/1.1.1}/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/ws => bindings/Channel Bindings Object/ws/1.1.1}/invalid-headers-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/ws => bindings/Channel Bindings Object/ws/1.1.1}/invalid-method.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/ws => bindings/Channel Bindings Object/ws/1.1.1}/invalid-query-type.yaml (100%) rename tests/{asyncapi-2.0/Channel Bindings Object/ws => bindings/Channel Bindings Object/ws/1.1.1}/valid.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/amqp => bindings/Message Bindings Object/amqp/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/amqp => bindings/Message Bindings Object/amqp/0.1.0}/Fields Types/invalid-contentEncoding-type.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/amqp => bindings/Message Bindings Object/amqp/0.1.0}/Fields Types/invalid-messageType-type.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/amqp => bindings/Message Bindings Object/amqp/0.1.0}/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/amqp => bindings/Message Bindings Object/amqp/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/http => bindings/Message Bindings Object/http/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/http => bindings/Message Bindings Object/http/0.1.0}/Fields Types/invalid-headers-type.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/http => bindings/Message Bindings Object/http/0.1.0}/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/http => bindings/Message Bindings Object/http/0.1.0}/invalid-headers-type.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/http => bindings/Message Bindings Object/http/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.1/Message Bindings Object/ibmmq => bindings/Message Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-binding-version-type.yaml (100%) rename tests/{asyncapi-2.1/Message Bindings Object/ibmmq => bindings/Message Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-expiry-value.yaml (100%) rename tests/{asyncapi-2.1/Message Bindings Object/ibmmq => bindings/Message Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-type-type.yaml (100%) rename tests/{asyncapi-2.1/Message Bindings Object/ibmmq => bindings/Message Bindings Object/ibmmq/0.1.0}/Fields Types/invalid-type-value.yaml (100%) rename tests/{asyncapi-2.1/Message Bindings Object/ibmmq => bindings/Message Bindings Object/ibmmq/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/kafka => bindings/Message Bindings Object/kafka/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/kafka => bindings/Message Bindings Object/kafka/0.1.0}/Fields Types/invalid-key-type.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/kafka => bindings/Message Bindings Object/kafka/0.1.0}/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/kafka => bindings/Message Bindings Object/kafka/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/mqtt => bindings/Message Bindings Object/mqtt/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/mqtt => bindings/Message Bindings Object/mqtt/0.1.0}/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.0/Message Bindings Object/mqtt => bindings/Message Bindings Object/mqtt/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.0 => bindings}/Message Bindings Object/valid-empty-object.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-ack-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-bcc-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-cc-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-deliveryMode-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-expiration-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-mandatory-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-priority-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-replyTo-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-timestamp-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/Fields Types/invalid-userId-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/invalid-deliveryMode-value.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/invalid-expiration-below-zero.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/amqp => bindings/Operation Bindings Object/amqp/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/http => bindings/Operation Bindings Object/http/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/http => bindings/Operation Bindings Object/http/0.1.0}/Fields Types/invalid-method-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/http => bindings/Operation Bindings Object/http/0.1.0}/Fields Types/invalid-query-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/http => bindings/Operation Bindings Object/http/0.1.0}/Fields Types/invalid-type-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/http => bindings/Operation Bindings Object/http/0.1.0}/invalid-method-value.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/http => bindings/Operation Bindings Object/http/0.1.0}/invalid-missing-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/http => bindings/Operation Bindings Object/http/0.1.0}/invalid-query-schema-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/http => bindings/Operation Bindings Object/http/0.1.0}/invalid-type-value.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/http => bindings/Operation Bindings Object/http/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/kafka => bindings/Operation Bindings Object/kafka/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/kafka => bindings/Operation Bindings Object/kafka/0.1.0}/Fields Types/invalid-clientId-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/kafka => bindings/Operation Bindings Object/kafka/0.1.0}/Fields Types/invalid-groupId-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/kafka => bindings/Operation Bindings Object/kafka/0.1.0}/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/kafka => bindings/Operation Bindings Object/kafka/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/mqtt => bindings/Operation Bindings Object/mqtt/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/mqtt => bindings/Operation Bindings Object/mqtt/0.1.0}/Fields Types/invalid-qos-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/mqtt => bindings/Operation Bindings Object/mqtt/0.1.0}/Fields Types/invalid-retain-type.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/mqtt => bindings/Operation Bindings Object/mqtt/0.1.0}/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/mqtt => bindings/Operation Bindings Object/mqtt/0.1.0}/invalid-qos-value.yaml (100%) rename tests/{asyncapi-2.0/Operation Bindings Object/mqtt => bindings/Operation Bindings Object/mqtt/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.0 => bindings}/Operation Bindings Object/valid-empty-object.yaml (100%) rename tests/{asyncapi-2.1 => bindings}/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml (100%) rename tests/{asyncapi-2.1 => bindings}/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.1 => bindings}/Server Bindings Object/ibmmq/0.1.0/valid.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/Fields Types/invalid-cleanSession-type.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/Fields Types/invalid-clientId-type.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/Fields Types/invalid-keepAlive-type.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/Fields Types/invalid-lastWill-message-type.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/Fields Types/invalid-lastWill-qos-type.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/Fields Types/invalid-lastWill-retain-type.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/Fields Types/invalid-lastWill-topic-type.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/Fields Types/invalid-lastWill-type.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/invalid-extra-properties.yaml (100%) rename tests/{asyncapi-2.0/Server Bindings Object/mqtt => bindings/Server Bindings Object/mqtt/0.1.0}/valid.yaml (100%) rename tests/{asyncapi-2.0 => bindings}/Server Bindings Object/valid-empty-object.yaml (100%) diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-autoDelete-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-autoDelete-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-autoDelete-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-autoDelete-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-durable-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-durable-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-durable-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-durable-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-name-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-name-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-name-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-name-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-type-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-type-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-type-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-type-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-vhost-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-vhost-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-exchange-vhost-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-vhost-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-is-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-is-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-is-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-is-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-autoDelete-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-autoDelete-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-autoDelete-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-autoDelete-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-durable-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-durable-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-durable-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-durable-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-exclusive-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-exclusive-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-exclusive-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-exclusive-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-name-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-name-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-name-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-name-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-vhost-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-vhost-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/Fields Types/invalid-queue-vhost-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-vhost-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/invalid-exchange-name-length.yaml.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-exchange-name-length.yaml.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/invalid-exchange-name-length.yaml.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-exchange-name-length.yaml.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/invalid-exchange-type.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-exchange-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/invalid-exchange-type.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-exchange-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/invalid-is-value.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-is-value.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/invalid-is-value.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-is-value.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/invalid-queue-name-length.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-queue-name-length.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/invalid-queue-name-length.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-queue-name-length.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/amqp/valid.yaml b/tests/bindings/Channel Bindings Object/amqp/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/amqp/valid.yaml rename to tests/bindings/Channel Bindings Object/amqp/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-destination-type.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-destination-type.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-destination-type.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-destination-type.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-max-msg-length-type.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-max-msg-length-type.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-max-msg-length-type.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-max-msg-length-type.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-exclusive-type.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-exclusive-type.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-exclusive-type.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-exclusive-type.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-is-partitioned-type.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-is-partitioned-type.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-is-partitioned-type.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-is-partitioned-type.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-required-objectName.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-required-objectName.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-queue-required-objectName.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-required-objectName.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-durable-permitted-type.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-topic-durable-permitted-type.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-durable-permitted-type.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-topic-durable-permitted-type.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-last-msg-retained-type.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-topic-last-msg-retained-type.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/Fields Types/invalid-topic-last-msg-retained-type.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-topic-last-msg-retained-type.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/invalid-both-types.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/invalid-both-types.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/invalid-both-types.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/invalid-both-types.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-queue.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/valid-queue.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-queue.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/valid-queue.yaml diff --git a/tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-topic.yaml b/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/valid-topic.yaml similarity index 100% rename from tests/asyncapi-2.1/Channel Bindings Object/ibmmq/valid-topic.yaml rename to tests/bindings/Channel Bindings Object/ibmmq/0.1.0/valid-topic.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/valid-empty-object.yaml b/tests/bindings/Channel Bindings Object/valid-empty-object.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/valid-empty-object.yaml rename to tests/bindings/Channel Bindings Object/valid-empty-object.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/ws/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/ws/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/ws/Fields Types/invalid-headers-type.yaml b/tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-headers-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/ws/Fields Types/invalid-headers-type.yaml rename to tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-headers-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/ws/Fields Types/invalid-method-type.yaml b/tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-method-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/ws/Fields Types/invalid-method-type.yaml rename to tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-method-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/ws/Fields Types/invalid-query-type.yaml b/tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-query-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/ws/Fields Types/invalid-query-type.yaml rename to tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-query-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/ws/invalid-extra-properties.yaml b/tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/ws/invalid-extra-properties.yaml rename to tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/ws/invalid-headers-type.yaml b/tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-headers-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/ws/invalid-headers-type.yaml rename to tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-headers-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/ws/invalid-method.yaml b/tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-method.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/ws/invalid-method.yaml rename to tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-method.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/ws/invalid-query-type.yaml b/tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-query-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/ws/invalid-query-type.yaml rename to tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-query-type.yaml diff --git a/tests/asyncapi-2.0/Channel Bindings Object/ws/valid.yaml b/tests/bindings/Channel Bindings Object/ws/1.1.1/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Channel Bindings Object/ws/valid.yaml rename to tests/bindings/Channel Bindings Object/ws/1.1.1/valid.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/amqp/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/amqp/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/amqp/Fields Types/invalid-contentEncoding-type.yaml b/tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-contentEncoding-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/amqp/Fields Types/invalid-contentEncoding-type.yaml rename to tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-contentEncoding-type.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/amqp/Fields Types/invalid-messageType-type.yaml b/tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-messageType-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/amqp/Fields Types/invalid-messageType-type.yaml rename to tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-messageType-type.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/amqp/invalid-extra-properties.yaml b/tests/bindings/Message Bindings Object/amqp/0.1.0/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/amqp/invalid-extra-properties.yaml rename to tests/bindings/Message Bindings Object/amqp/0.1.0/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/amqp/valid.yaml b/tests/bindings/Message Bindings Object/amqp/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/amqp/valid.yaml rename to tests/bindings/Message Bindings Object/amqp/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/http/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Message Bindings Object/http/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/http/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Message Bindings Object/http/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/http/Fields Types/invalid-headers-type.yaml b/tests/bindings/Message Bindings Object/http/0.1.0/Fields Types/invalid-headers-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/http/Fields Types/invalid-headers-type.yaml rename to tests/bindings/Message Bindings Object/http/0.1.0/Fields Types/invalid-headers-type.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/http/invalid-extra-properties.yaml b/tests/bindings/Message Bindings Object/http/0.1.0/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/http/invalid-extra-properties.yaml rename to tests/bindings/Message Bindings Object/http/0.1.0/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/http/invalid-headers-type.yaml b/tests/bindings/Message Bindings Object/http/0.1.0/invalid-headers-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/http/invalid-headers-type.yaml rename to tests/bindings/Message Bindings Object/http/0.1.0/invalid-headers-type.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/http/valid.yaml b/tests/bindings/Message Bindings Object/http/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/http/valid.yaml rename to tests/bindings/Message Bindings Object/http/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml b/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml similarity index 100% rename from tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-binding-version-type.yaml rename to tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-expiry-value.yaml b/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-expiry-value.yaml similarity index 100% rename from tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-expiry-value.yaml rename to tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-expiry-value.yaml diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-type.yaml b/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-type-type.yaml similarity index 100% rename from tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-type.yaml rename to tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-type-type.yaml diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-value.yaml b/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-type-value.yaml similarity index 100% rename from tests/asyncapi-2.1/Message Bindings Object/ibmmq/Fields Types/invalid-type-value.yaml rename to tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-type-value.yaml diff --git a/tests/asyncapi-2.1/Message Bindings Object/ibmmq/valid.yaml b/tests/bindings/Message Bindings Object/ibmmq/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.1/Message Bindings Object/ibmmq/valid.yaml rename to tests/bindings/Message Bindings Object/ibmmq/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/kafka/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Message Bindings Object/kafka/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/kafka/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Message Bindings Object/kafka/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/kafka/Fields Types/invalid-key-type.yaml b/tests/bindings/Message Bindings Object/kafka/0.1.0/Fields Types/invalid-key-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/kafka/Fields Types/invalid-key-type.yaml rename to tests/bindings/Message Bindings Object/kafka/0.1.0/Fields Types/invalid-key-type.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/kafka/invalid-extra-properties.yaml b/tests/bindings/Message Bindings Object/kafka/0.1.0/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/kafka/invalid-extra-properties.yaml rename to tests/bindings/Message Bindings Object/kafka/0.1.0/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/kafka/valid.yaml b/tests/bindings/Message Bindings Object/kafka/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/kafka/valid.yaml rename to tests/bindings/Message Bindings Object/kafka/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/mqtt/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Message Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/mqtt/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Message Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/mqtt/invalid-extra-properties.yaml b/tests/bindings/Message Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/mqtt/invalid-extra-properties.yaml rename to tests/bindings/Message Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/mqtt/valid.yaml b/tests/bindings/Message Bindings Object/mqtt/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/mqtt/valid.yaml rename to tests/bindings/Message Bindings Object/mqtt/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Message Bindings Object/valid-empty-object.yaml b/tests/bindings/Message Bindings Object/valid-empty-object.yaml similarity index 100% rename from tests/asyncapi-2.0/Message Bindings Object/valid-empty-object.yaml rename to tests/bindings/Message Bindings Object/valid-empty-object.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-ack-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-ack-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-ack-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-ack-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-bcc-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-bcc-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-bcc-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-bcc-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-cc-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-cc-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-cc-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-cc-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-deliveryMode-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-deliveryMode-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-deliveryMode-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-deliveryMode-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-expiration-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-expiration-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-expiration-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-expiration-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-mandatory-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-mandatory-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-mandatory-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-mandatory-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-priority-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-priority-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-priority-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-priority-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-replyTo-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-replyTo-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-replyTo-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-replyTo-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-timestamp-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-timestamp-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-timestamp-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-timestamp-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-userId-type.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-userId-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/Fields Types/invalid-userId-type.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-userId-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/invalid-deliveryMode-value.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-deliveryMode-value.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/invalid-deliveryMode-value.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-deliveryMode-value.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/invalid-expiration-below-zero.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-expiration-below-zero.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/invalid-expiration-below-zero.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-expiration-below-zero.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/invalid-extra-properties.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/invalid-extra-properties.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/amqp/valid.yaml b/tests/bindings/Operation Bindings Object/amqp/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/amqp/valid.yaml rename to tests/bindings/Operation Bindings Object/amqp/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/http/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/http/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/http/Fields Types/invalid-method-type.yaml b/tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-method-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/http/Fields Types/invalid-method-type.yaml rename to tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-method-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/http/Fields Types/invalid-query-type.yaml b/tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-query-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/http/Fields Types/invalid-query-type.yaml rename to tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-query-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/http/Fields Types/invalid-type-type.yaml b/tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-type-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/http/Fields Types/invalid-type-type.yaml rename to tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-type-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/http/invalid-method-value.yaml b/tests/bindings/Operation Bindings Object/http/0.1.0/invalid-method-value.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/http/invalid-method-value.yaml rename to tests/bindings/Operation Bindings Object/http/0.1.0/invalid-method-value.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/http/invalid-missing-type.yaml b/tests/bindings/Operation Bindings Object/http/0.1.0/invalid-missing-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/http/invalid-missing-type.yaml rename to tests/bindings/Operation Bindings Object/http/0.1.0/invalid-missing-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/http/invalid-query-schema-type.yaml b/tests/bindings/Operation Bindings Object/http/0.1.0/invalid-query-schema-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/http/invalid-query-schema-type.yaml rename to tests/bindings/Operation Bindings Object/http/0.1.0/invalid-query-schema-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/http/invalid-type-value.yaml b/tests/bindings/Operation Bindings Object/http/0.1.0/invalid-type-value.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/http/invalid-type-value.yaml rename to tests/bindings/Operation Bindings Object/http/0.1.0/invalid-type-value.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/http/valid.yaml b/tests/bindings/Operation Bindings Object/http/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/http/valid.yaml rename to tests/bindings/Operation Bindings Object/http/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/kafka/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/kafka/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/kafka/Fields Types/invalid-clientId-type.yaml b/tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-clientId-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/kafka/Fields Types/invalid-clientId-type.yaml rename to tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-clientId-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/kafka/Fields Types/invalid-groupId-type.yaml b/tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-groupId-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/kafka/Fields Types/invalid-groupId-type.yaml rename to tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-groupId-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/kafka/invalid-extra-properties.yaml b/tests/bindings/Operation Bindings Object/kafka/0.1.0/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/kafka/invalid-extra-properties.yaml rename to tests/bindings/Operation Bindings Object/kafka/0.1.0/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/kafka/valid.yaml b/tests/bindings/Operation Bindings Object/kafka/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/kafka/valid.yaml rename to tests/bindings/Operation Bindings Object/kafka/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/mqtt/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/mqtt/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/mqtt/Fields Types/invalid-qos-type.yaml b/tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-qos-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/mqtt/Fields Types/invalid-qos-type.yaml rename to tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-qos-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/mqtt/Fields Types/invalid-retain-type.yaml b/tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-retain-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/mqtt/Fields Types/invalid-retain-type.yaml rename to tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-retain-type.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/mqtt/invalid-extra-properties.yaml b/tests/bindings/Operation Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/mqtt/invalid-extra-properties.yaml rename to tests/bindings/Operation Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/mqtt/invalid-qos-value.yaml b/tests/bindings/Operation Bindings Object/mqtt/0.1.0/invalid-qos-value.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/mqtt/invalid-qos-value.yaml rename to tests/bindings/Operation Bindings Object/mqtt/0.1.0/invalid-qos-value.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/mqtt/valid.yaml b/tests/bindings/Operation Bindings Object/mqtt/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/mqtt/valid.yaml rename to tests/bindings/Operation Bindings Object/mqtt/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Operation Bindings Object/valid-empty-object.yaml b/tests/bindings/Operation Bindings Object/valid-empty-object.yaml similarity index 100% rename from tests/asyncapi-2.0/Operation Bindings Object/valid-empty-object.yaml rename to tests/bindings/Operation Bindings Object/valid-empty-object.yaml diff --git a/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml b/tests/bindings/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml similarity index 100% rename from tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml rename to tests/bindings/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml diff --git a/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml b/tests/bindings/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/valid.yaml b/tests/bindings/Server Bindings Object/ibmmq/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.1/Server Bindings Object/ibmmq/0.1.0/valid.yaml rename to tests/bindings/Server Bindings Object/ibmmq/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-cleanSession-type.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-cleanSession-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-cleanSession-type.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-cleanSession-type.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-clientId-type.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-clientId-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-clientId-type.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-clientId-type.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-keepAlive-type.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-keepAlive-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-keepAlive-type.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-keepAlive-type.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-message-type.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-message-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-message-type.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-message-type.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-qos-type.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-qos-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-qos-type.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-qos-type.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-retain-type.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-retain-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-retain-type.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-retain-type.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-topic-type.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-topic-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-topic-type.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-topic-type.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-type.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-type.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/Fields Types/invalid-lastWill-type.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-type.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/invalid-extra-properties.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/invalid-extra-properties.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/mqtt/valid.yaml b/tests/bindings/Server Bindings Object/mqtt/0.1.0/valid.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/mqtt/valid.yaml rename to tests/bindings/Server Bindings Object/mqtt/0.1.0/valid.yaml diff --git a/tests/asyncapi-2.0/Server Bindings Object/valid-empty-object.yaml b/tests/bindings/Server Bindings Object/valid-empty-object.yaml similarity index 100% rename from tests/asyncapi-2.0/Server Bindings Object/valid-empty-object.yaml rename to tests/bindings/Server Bindings Object/valid-empty-object.yaml From 948cb9f5c078ba9d85f025065e2ac069c79e61cb Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Thu, 29 Jul 2021 17:40:05 +0200 Subject: [PATCH 06/14] Updated all runners with new paths --- runner/go/main.go | 2 +- .../asyncapi/runner/AsyncapiTckRunner.java | 2 +- runner/js/package-lock.json | 277 +++++++++++++++++- runner/js/src/index.js | 2 +- runner/package-lock.json | 129 +++++++- .../invalid-binding-version-type.yaml | 8 +- 6 files changed, 411 insertions(+), 9 deletions(-) diff --git a/runner/go/main.go b/runner/go/main.go index 155f2aaf..4acad3a4 100644 --- a/runner/go/main.go +++ b/runner/go/main.go @@ -65,7 +65,7 @@ func main() { // asyncapi/tck/runner rootFl, _ := filepath.Abs(filepath.Join("..")) - testsFl, _ := filepath.Abs(filepath.Join(rootFl, "tests", "asyncapi-2.0")) + testsFl, _ := filepath.Abs(filepath.Join(rootFl, "tests")) fileList, err := ListYamls(testsFl) if err != nil { fmt.Printf("Failed to list YAML files: %s\n", err) diff --git a/runner/java/src/main/java/org/asyncapi/runner/AsyncapiTckRunner.java b/runner/java/src/main/java/org/asyncapi/runner/AsyncapiTckRunner.java index 91aec686..3cecad76 100644 --- a/runner/java/src/main/java/org/asyncapi/runner/AsyncapiTckRunner.java +++ b/runner/java/src/main/java/org/asyncapi/runner/AsyncapiTckRunner.java @@ -70,7 +70,7 @@ public void run() { // tck/runner/java Path rootDirRel = Paths.get("../../"); String rootDir = rootDirRel.toAbsolutePath().toString(); - String testsDir = Paths.get(rootDir, "tests", "asyncapi-2.0").toString(); + String testsDir = Paths.get(rootDir, "tests").toString(); Stream fileList = Utils.listYamls(testsDir); JSONObject report = new JSONObject(); diff --git a/runner/js/package-lock.json b/runner/js/package-lock.json index 4e9d8476..09bc6b86 100644 --- a/runner/js/package-lock.json +++ b/runner/js/package-lock.json @@ -1,8 +1,283 @@ { "name": "asyncapi-tck-runner-js", "version": "1.0.0", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, + "packages": { + "": { + "name": "asyncapi-tck-runner-js", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "@asyncapi/parser": "^1.6.0", + "amf-client-js": "^4.0.4", + "minimist": "^1.2.3", + "mustache": "^3.0.1", + "walk": "^2.3.14" + }, + "devDependencies": {} + }, + "node_modules/@apidevtools/json-schema-ref-parser": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.9.tgz", + "integrity": "sha512-GBD2Le9w2+lVFoc4vswGI/TjkNIZSVp7+9xPf+X3uidBfWnAeUWmquteSyt0+VCrhNMWj/FTABISQrD3Z/YA+w==", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.6", + "call-me-maybe": "^1.0.1", + "js-yaml": "^4.1.0" + } + }, + "node_modules/@apidevtools/json-schema-ref-parser/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@asyncapi/parser": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-1.6.0.tgz", + "integrity": "sha512-uLLoDn0Enisp7JgZV6TdK7AfbQF0dxS4j68XGjoslTew/OGfAatchpuP5ARMcxqnygYyhtEFcOd/qzKbmZy2zA==", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "^9.0.6", + "@asyncapi/specs": "^2.7.8", + "@fmvilas/pseudo-yaml-ast": "^0.3.1", + "ajv": "^6.10.1", + "js-yaml": "^3.13.1", + "json-to-ast": "^2.1.0", + "lodash.clonedeep": "^4.5.0", + "node-fetch": "^2.6.0", + "tiny-merge-patch": "^0.1.2" + } + }, + "node_modules/@asyncapi/parser/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "node_modules/@asyncapi/parser/node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/@asyncapi/specs": { + "version": "2.7.8", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-2.7.8.tgz", + "integrity": "sha512-GvyUo8rKAY25XdhM2dYqv4yf6gzgiNRazLxbeQfeD5oXu4aEs/rkpcgHPeb3ckA6xXiyzdBnpVYhJOcPvgr46g==" + }, + "node_modules/@fmvilas/pseudo-yaml-ast": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@fmvilas/pseudo-yaml-ast/-/pseudo-yaml-ast-0.3.1.tgz", + "integrity": "sha512-8OAB74W2a9M3k9bjYD8AjVXkX+qO8c0SqNT5HlgOqx7AxSw8xdksEcZp7gFtfi+4njSxT6+76ZR+1ubjAwQHOg==", + "dependencies": { + "yaml-ast-parser": "0.0.43" + } + }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + }, + "node_modules/@types/json-schema": { + "version": "7.0.7", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz", + "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==" + }, + "node_modules/ajv": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.2.tgz", + "integrity": "sha512-hOs7GfvI6tUI1LfZddH82ky6mOMyTuY0mk7kE2pWpmhhUSkumzaTO5vbVwij39MdwPQWCV4Zv57Eo06NtL/GVA==", + "dependencies": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.1" + } + }, + "node_modules/amf-client-js": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/amf-client-js/-/amf-client-js-4.0.4.tgz", + "integrity": "sha512-2WsNFrLCa6oJTRHeMu80NKVD4b8vNfL37iUDLtxPp4n8ChdR4o39F2yuT4/V9qRBDgW2cLB1FXzvO8ZCHIHclg==", + "dependencies": { + "ajv": "6.5.2", + "amf-shacl-node": "1.1.1" + }, + "bin": { + "amf": "bin/amf" + } + }, + "node_modules/amf-shacl-node": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/amf-shacl-node/-/amf-shacl-node-1.1.1.tgz", + "integrity": "sha512-CoW08R+Y5VluBhC0IT11yJMJqVfuYVa8JHKopL4sXXCgTjtKikn1dyfOmY/b/u0WVKmx787JVDb/HnTzOEVoiA==" + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/call-me-maybe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", + "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=" + }, + "node_modules/code-error-fragment": { + "version": "0.0.230", + "resolved": "https://registry.npmjs.org/code-error-fragment/-/code-error-fragment-0.0.230.tgz", + "integrity": "sha512-cadkfKp6932H8UkhzE/gcUqhRMNf8jHzkAN7+5Myabswaghu4xABTgPHDCjW+dBAJxj/SpkTYokpzDqY4pCzQw==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/foreachasync": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-3.0.0.tgz", + "integrity": "sha1-VQKYfchxS+M5IJfzLgBxyd7gfPY=" + }, + "node_modules/grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" + }, + "node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/js-yaml/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/json-to-ast": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/json-to-ast/-/json-to-ast-2.1.0.tgz", + "integrity": "sha512-W9Lq347r8tA1DfMvAGn9QNcgYm4Wm7Yc+k8e6vezpMnRT+NHbtlxgNBXRVjXe9YM6eTn6+p/MKOlV/aABJcSnQ==", + "dependencies": { + "code-error-fragment": "0.0.230", + "grapheme-splitter": "^1.0.4" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=" + }, + "node_modules/minimist": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.3.tgz", + "integrity": "sha512-+bMdgqjMN/Z77a6NlY/I3U5LlRDbnmaAk6lDveAPKwSpcPM4tKAuYsvYF8xjhOPXhOYGe/73vVLVez5PW+jqhw==" + }, + "node_modules/mustache": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-3.2.1.tgz", + "integrity": "sha512-RERvMFdLpaFfSRIEe632yDm5nsd0SDKn8hGmcUwswnyiE5mtdZLDybtHAz6hjJhawokF0hXvGLtx9mrQfm6FkA==", + "bin": { + "mustache": "bin/mustache" + }, + "engines": { + "npm": ">=1.4.0" + } + }, + "node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + }, + "node_modules/tiny-merge-patch": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/tiny-merge-patch/-/tiny-merge-patch-0.1.2.tgz", + "integrity": "sha1-Lo3tGcVuoV29OtTtXbHI5a1UTDw=" + }, + "node_modules/uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/walk": { + "version": "2.3.14", + "resolved": "https://registry.npmjs.org/walk/-/walk-2.3.14.tgz", + "integrity": "sha512-5skcWAUmySj6hkBdH6B6+3ddMjVQYH5Qy9QGbPmN8kVmLteXk+yVXg+yfk1nbX30EYakahLrr8iPcCxJQSCBeg==", + "dependencies": { + "foreachasync": "^3.0.0" + } + }, + "node_modules/yaml-ast-parser": { + "version": "0.0.43", + "resolved": "https://registry.npmjs.org/yaml-ast-parser/-/yaml-ast-parser-0.0.43.tgz", + "integrity": "sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==" + } + }, "dependencies": { "@apidevtools/json-schema-ref-parser": { "version": "9.0.9", diff --git a/runner/js/src/index.js b/runner/js/src/index.js index d313cbd8..9999f894 100644 --- a/runner/js/src/index.js +++ b/runner/js/src/index.js @@ -40,7 +40,7 @@ async function main () { } const fileList = utils.listYamlFiles( - path.resolve(ROOT_DIR, 'tests', 'asyncapi-2.0')) + path.resolve(ROOT_DIR, 'tests')) let report = { parser: { name: argv.parser, diff --git a/runner/package-lock.json b/runner/package-lock.json index 640f5a72..4d090594 100644 --- a/runner/package-lock.json +++ b/runner/package-lock.json @@ -1,6 +1,133 @@ { + "name": "runner", + "lockfileVersion": 2, "requires": true, - "lockfileVersion": 1, + "packages": { + "": { + "dependencies": { + "tck-reporter": "^1.2.1" + } + }, + "node_modules/ajv": { + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", + "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "node_modules/at-least-node": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/commander": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", + "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", + "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/fs-extra": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.0.tgz", + "integrity": "sha512-pmEYSk3vYsG/bF651KPUXZ+hvjpgWYw/Gc7W9NFUe3ZVLczKKWIij3IKpOrQcdw4TILtibFslZ0UmR8Vvzig4g==", + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^1.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/jsonfile": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.0.1.tgz", + "integrity": "sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg==", + "dependencies": { + "graceful-fs": "^4.1.6", + "universalify": "^1.0.0" + } + }, + "node_modules/mustache": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-3.2.1.tgz", + "integrity": "sha512-RERvMFdLpaFfSRIEe632yDm5nsd0SDKn8hGmcUwswnyiE5mtdZLDybtHAz6hjJhawokF0hXvGLtx9mrQfm6FkA==", + "bin": { + "mustache": "bin/mustache" + }, + "engines": { + "npm": ">=1.4.0" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/tck-reporter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/tck-reporter/-/tck-reporter-1.2.1.tgz", + "integrity": "sha512-uQfLU2GTsxLe+eu/bsEOLgVVOXqV/BfIAW6YyIQK2MyOzTsmZpj280T43fdHYOaSQ7eoLuojZjY8AebReO5eKA==", + "dependencies": { + "ajv": "^6.12.2", + "commander": "^5.1.0", + "fs-extra": "^9.0.0", + "mustache": "^3.0.1" + }, + "bin": { + "tck-reporter": "bin/tck-reporter.js" + } + }, + "node_modules/universalify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", + "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dependencies": { + "punycode": "^2.1.0" + } + } + }, "dependencies": { "ajv": { "version": "6.12.2", diff --git a/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml b/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml index 6b1f89df..eae7cb10 100644 --- a/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml +++ b/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml @@ -10,7 +10,7 @@ channels: message: payload: type: string - bindings: - ibmmq: - bindingVersion: - prop: 1 + bindings: + ibmmq: + bindingVersion: + prop: 1 From 469cf809fd55153d855a992161f2edf4fa2b53a9 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Fri, 30 Jul 2021 12:30:55 +0200 Subject: [PATCH 07/14] Updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bf027822..7b8601e7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # AsyncAPI tck -AsyncAPI's Test Compatibility Kit (TCK) provides a way for AsyncAPI processors to test their level of compliance with the [AsyncAPI 2.0 Spec](https://github.com/asyncapi/asyncapi/blob/master/versions/2.0.0/asyncapi.md). This TCK contains a set of AsyncAPI documents meant to be used to test correct and incorrect usage of each AsyncAPI feature. +AsyncAPI's Test Compatibility Kit (TCK) provides a way for AsyncAPI processors to test their level of compliance with the specification. This TCK contains a set of AsyncAPI documents meant to be used to test correct and incorrect usage of each AsyncAPI feature. ## Contributing We welcome contributions! If you have a new test case in mind, feel free to submit a pull request. More info on how to do that [here](./CONTRIBUTING.md). From 025c16002b558f736bd1070812fd676f6487dd3b Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Fri, 30 Jul 2021 13:09:46 +0200 Subject: [PATCH 08/14] Update tests/asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Maciej UrbaƄczyk --- .../asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml b/tests/asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml index 98fa9a2d..eda43e31 100644 --- a/tests/asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml +++ b/tests/asyncapi-2.1/Security Scheme Object/scramSha512/valid.yaml @@ -1,4 +1,4 @@ -asyncapi: 2.0.0 +asyncapi: 2.1.0 info: title: Signup service example (internal) From 0a8f33b0ca4cc59fc44f40faf9843e918271f86d Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Fri, 30 Jul 2021 13:10:50 +0200 Subject: [PATCH 09/14] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Maciej UrbaƄczyk --- tests/asyncapi-2.1/Message Trait Object/valid.yaml | 4 ++-- tests/asyncapi-2.1/Security Scheme Object/gssapi/valid.yaml | 2 +- tests/asyncapi-2.1/Security Scheme Object/plain/valid.yaml | 2 +- .../Security Scheme Object/scramSha256/valid.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/asyncapi-2.1/Message Trait Object/valid.yaml b/tests/asyncapi-2.1/Message Trait Object/valid.yaml index 44801ddb..68ae45cc 100644 --- a/tests/asyncapi-2.1/Message Trait Object/valid.yaml +++ b/tests/asyncapi-2.1/Message Trait Object/valid.yaml @@ -1,4 +1,4 @@ -asyncapi: 2.0.0 +asyncapi: 2.1.0 info: title: Signup service example (internal) @@ -58,4 +58,4 @@ components: - name: Example 2 summary: Example summary for example 2 payload: - email: bye@foo.bar \ No newline at end of file + email: bye@foo.bar diff --git a/tests/asyncapi-2.1/Security Scheme Object/gssapi/valid.yaml b/tests/asyncapi-2.1/Security Scheme Object/gssapi/valid.yaml index 2d08a9f6..d7b8f6a1 100644 --- a/tests/asyncapi-2.1/Security Scheme Object/gssapi/valid.yaml +++ b/tests/asyncapi-2.1/Security Scheme Object/gssapi/valid.yaml @@ -1,4 +1,4 @@ -asyncapi: 2.0.0 +asyncapi: 2.1.0 info: title: Signup service example (internal) diff --git a/tests/asyncapi-2.1/Security Scheme Object/plain/valid.yaml b/tests/asyncapi-2.1/Security Scheme Object/plain/valid.yaml index de4c6cd9..e52f05f9 100644 --- a/tests/asyncapi-2.1/Security Scheme Object/plain/valid.yaml +++ b/tests/asyncapi-2.1/Security Scheme Object/plain/valid.yaml @@ -1,4 +1,4 @@ -asyncapi: 2.0.0 +asyncapi: 2.1.0 info: title: Signup service example (internal) diff --git a/tests/asyncapi-2.1/Security Scheme Object/scramSha256/valid.yaml b/tests/asyncapi-2.1/Security Scheme Object/scramSha256/valid.yaml index bc3a7ba8..99104bb6 100644 --- a/tests/asyncapi-2.1/Security Scheme Object/scramSha256/valid.yaml +++ b/tests/asyncapi-2.1/Security Scheme Object/scramSha256/valid.yaml @@ -1,4 +1,4 @@ -asyncapi: 2.0.0 +asyncapi: 2.1.0 info: title: Signup service example (internal) From 89fb707a9ee2ee1e2384c10617956233cd680ee3 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Fri, 30 Jul 2021 13:13:19 +0200 Subject: [PATCH 10/14] Added version for readme. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7b8601e7..5fd06973 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # AsyncAPI tck AsyncAPI's Test Compatibility Kit (TCK) provides a way for AsyncAPI processors to test their level of compliance with the specification. This TCK contains a set of AsyncAPI documents meant to be used to test correct and incorrect usage of each AsyncAPI feature. +The TCK is build for version <= 2.0.0. + ## Contributing We welcome contributions! If you have a new test case in mind, feel free to submit a pull request. More info on how to do that [here](./CONTRIBUTING.md). From 3627bf748eaaa1ab9b9fba10d89ea4621e4e5509 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Fri, 30 Jul 2021 13:14:49 +0200 Subject: [PATCH 11/14] Updated message example --- .../Message Object/valid-examples.yaml | 28 ++++++++++ tests/asyncapi-2.1/Message Object/valid.yaml | 56 ------------------- 2 files changed, 28 insertions(+), 56 deletions(-) create mode 100644 tests/asyncapi-2.1/Message Object/valid-examples.yaml delete mode 100644 tests/asyncapi-2.1/Message Object/valid.yaml diff --git a/tests/asyncapi-2.1/Message Object/valid-examples.yaml b/tests/asyncapi-2.1/Message Object/valid-examples.yaml new file mode 100644 index 00000000..1be76d4b --- /dev/null +++ b/tests/asyncapi-2.1/Message Object/valid-examples.yaml @@ -0,0 +1,28 @@ +asyncapi: 2.1.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + message: + payload: + type: object + properties: + email: + type: string + format: email + examples: + - name: Example 1 + summary: Example summary for example 1 + payload: + email: hello@foo.bar + headers: + correlationId: some id + applicationInstanceId: other id + - name: Example 2 + summary: Example summary for example 2 + payload: + email: bye@foo.bar \ No newline at end of file diff --git a/tests/asyncapi-2.1/Message Object/valid.yaml b/tests/asyncapi-2.1/Message Object/valid.yaml deleted file mode 100644 index f5ac0846..00000000 --- a/tests/asyncapi-2.1/Message Object/valid.yaml +++ /dev/null @@ -1,56 +0,0 @@ -asyncapi: 2.0.0 - -info: - title: Signup service example (internal) - version: 0.1.0 - -channels: - /user/signedup: - subscribe: - operationId: userSignedUp - summary: user signed up - description: user signed up to load some data - message: - name: UserSignup - title: User signup - summary: Action to sign a user up. - description: A longer description - contentType: application/json - schemaFormat: application/vnd.aai.asyncapi;version=2.0.0 - correlationId: - description: Default Correlation ID - location: $message.header#/correlationId - headers: - type: object - properties: - correlationId: - description: Correlation ID set by application - type: string - applicationInstanceId: - description: Unique identifier for a given instance of the publishing application - type: string - tags: - - name: user - description: user signed up - - name: signup - externalDocs: - description: Find more info here - url: https://example.com - payload: - type: object - properties: - email: - type: string - format: email - examples: - - name: Example 1 - summary: Example summary for example 1 - payload: - email: hello@foo.bar - headers: - correlationId: some id - applicationInstanceId: other id - - name: Example 2 - summary: Example summary for example 2 - payload: - email: bye@foo.bar \ No newline at end of file From 93fbf16bb7c07a85eda5f6d8fb53ca1125d5147c Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Fri, 30 Jul 2021 13:15:40 +0200 Subject: [PATCH 12/14] Updated message trait example --- .../Message Trait Object/valid-examples.yaml | 34 +++++++++++ .../Message Trait Object/valid.yaml | 61 ------------------- 2 files changed, 34 insertions(+), 61 deletions(-) create mode 100644 tests/asyncapi-2.1/Message Trait Object/valid-examples.yaml delete mode 100644 tests/asyncapi-2.1/Message Trait Object/valid.yaml diff --git a/tests/asyncapi-2.1/Message Trait Object/valid-examples.yaml b/tests/asyncapi-2.1/Message Trait Object/valid-examples.yaml new file mode 100644 index 00000000..e677d070 --- /dev/null +++ b/tests/asyncapi-2.1/Message Trait Object/valid-examples.yaml @@ -0,0 +1,34 @@ +asyncapi: 2.1.0 + +info: + title: Signup service example (internal) + version: 0.1.0 + +channels: + /user/signedup: + subscribe: + message: + payload: + type: object + properties: + email: + type: string + format: email + traits: + - $ref: "#/components/messageTraits/signedUpMessage" + +components: + messageTraits: + signedUpMessage: + examples: + - name: Example 1 + summary: Example summary for example 1 + payload: + email: hello@foo.bar + headers: + correlationId: some id + applicationInstanceId: other id + - name: Example 2 + summary: Example summary for example 2 + payload: + email: bye@foo.bar diff --git a/tests/asyncapi-2.1/Message Trait Object/valid.yaml b/tests/asyncapi-2.1/Message Trait Object/valid.yaml deleted file mode 100644 index 68ae45cc..00000000 --- a/tests/asyncapi-2.1/Message Trait Object/valid.yaml +++ /dev/null @@ -1,61 +0,0 @@ -asyncapi: 2.1.0 - -info: - title: Signup service example (internal) - version: 0.1.0 - -channels: - /user/signedup: - subscribe: - operationId: userSignedUp - summary: user signed up - description: user signed up to load some data - message: - payload: - type: object - properties: - email: - type: string - format: email - traits: - - $ref: "#/components/messageTraits/signedUpMessage" - -components: - messageTraits: - signedUpMessage: - tags: - - name: user - description: user signed up - - name: signup - externalDocs: - description: Find more info here - url: https://example.com - name: UserSignup - title: User signup - summary: Action to sign a user up. - description: A longer description - contentType: application/json - correlationId: - description: Default Correlation ID - location: $message.header#/correlationId - headers: - type: object - properties: - correlationId: - description: Correlation ID set by application - type: string - applicationInstanceId: - description: Unique identifier for a given instance of the publishing application - type: string - examples: - - name: Example 1 - summary: Example summary for example 1 - payload: - email: hello@foo.bar - headers: - correlationId: some id - applicationInstanceId: other id - - name: Example 2 - summary: Example summary for example 2 - payload: - email: bye@foo.bar From a062601a0045616ed82bfe913dd6dd61cd336c7a Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Fri, 30 Jul 2021 13:31:01 +0200 Subject: [PATCH 13/14] Moved bindings around --- .../Channel Bindings Object/valid-empty-object.yaml | 0 .../Message Bindings Object/valid-empty-object.yaml | 0 .../Operation Bindings Object/valid-empty-object.yaml | 0 .../Server Bindings Object/valid-empty-object.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Fields Types/invalid-exchange-autoDelete-type.yaml | 0 .../Fields Types/invalid-exchange-durable-type.yaml | 0 .../Fields Types/invalid-exchange-name-type.yaml | 0 .../Fields Types/invalid-exchange-type-type.yaml | 0 .../Fields Types/invalid-exchange-type.yaml | 0 .../Fields Types/invalid-exchange-vhost-type.yaml | 0 .../Channel Bindings Object}/Fields Types/invalid-is-type.yaml | 0 .../Fields Types/invalid-queue-autoDelete-type.yaml | 0 .../Fields Types/invalid-queue-durable-type.yaml | 0 .../Fields Types/invalid-queue-exclusive-type.yaml | 0 .../Fields Types/invalid-queue-name-type.yaml | 0 .../Channel Bindings Object}/Fields Types/invalid-queue-type.yaml | 0 .../Fields Types/invalid-queue-vhost-type.yaml | 0 .../invalid-exchange-name-length.yaml.yaml | 0 .../0.1.0/Channel Bindings Object}/invalid-exchange-type.yaml | 0 .../0.1.0/Channel Bindings Object}/invalid-is-value.yaml | 0 .../0.1.0/Channel Bindings Object}/invalid-queue-name-length.yaml | 0 .../amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Fields Types/invalid-contentEncoding-type.yaml | 0 .../Fields Types/invalid-messageType-type.yaml | 0 .../0.1.0/Message Bindings Object}/invalid-extra-properties.yaml | 0 .../amqp/0.1.0 => amqp/0.1.0/Message Bindings Object}/valid.yaml | 0 .../Operation Bindings Object}/Fields Types/invalid-ack-type.yaml | 0 .../Operation Bindings Object}/Fields Types/invalid-bcc-type.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Operation Bindings Object}/Fields Types/invalid-cc-type.yaml | 0 .../Fields Types/invalid-deliveryMode-type.yaml | 0 .../Fields Types/invalid-expiration-type.yaml | 0 .../Fields Types/invalid-mandatory-type.yaml | 0 .../Fields Types/invalid-priority-type.yaml | 0 .../Fields Types/invalid-replyTo-type.yaml | 0 .../Fields Types/invalid-timestamp-type.yaml | 0 .../Fields Types/invalid-userId-type.yaml | 0 .../Operation Bindings Object}/invalid-deliveryMode-value.yaml | 0 .../Operation Bindings Object}/invalid-expiration-below-zero.yaml | 0 .../Operation Bindings Object}/invalid-extra-properties.yaml | 0 .../0.1.0 => amqp/0.1.0/Operation Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Fields Types/invalid-headers-type.yaml | 0 .../0.1.0/Message Bindings Object}/invalid-extra-properties.yaml | 0 .../0.1.0/Message Bindings Object}/invalid-headers-type.yaml | 0 .../http/0.1.0 => http/0.1.0/Message Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Fields Types/invalid-method-type.yaml | 0 .../Fields Types/invalid-query-type.yaml | 0 .../Fields Types/invalid-type-type.yaml | 0 .../0.1.0/Operation Bindings Object}/invalid-method-value.yaml | 0 .../0.1.0/Operation Bindings Object}/invalid-missing-type.yaml | 0 .../Operation Bindings Object}/invalid-query-schema-type.yaml | 0 .../0.1.0/Operation Bindings Object}/invalid-type-value.yaml | 0 .../0.1.0 => http/0.1.0/Operation Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-binding-version-type.yaml | 0 .../Fields Types/invalid-destination-type.yaml | 0 .../Fields Types/invalid-max-msg-length-type.yaml | 0 .../Fields Types/invalid-queue-exclusive-type.yaml | 0 .../Fields Types/invalid-queue-is-partitioned-type.yaml | 0 .../Fields Types/invalid-queue-required-objectName.yaml | 0 .../Fields Types/invalid-topic-durable-permitted-type.yaml | 0 .../Fields Types/invalid-topic-last-msg-retained-type.yaml | 0 .../0.1.0/Channel Bindings Object}/invalid-both-types.yaml | 0 .../0.1.0/Channel Bindings Object}/valid-queue.yaml | 0 .../0.1.0/Channel Bindings Object}/valid-topic.yaml | 0 .../Fields Types/invalid-binding-version-type.yaml | 0 .../Fields Types/invalid-expiry-value.yaml | 0 .../Message Bindings Object}/Fields Types/invalid-type-type.yaml | 0 .../Message Bindings Object}/Fields Types/invalid-type-value.yaml | 0 .../0.1.0 => ibmmq/0.1.0/Message Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-heartbeat-interval.yaml | 0 .../0.1.0/Server BIndings Object}/invalid-extra-properties.yaml | 0 .../ibmmq/0.1.0 => ibmmq/0.1.0/Server BIndings Object}/valid.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Message Bindings Object}/Fields Types/invalid-key-type.yaml | 0 .../0.1.0/Message Bindings Object}/invalid-extra-properties.yaml | 0 .../0.1.0 => kafka/0.1.0/Message Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Fields Types/invalid-clientId-type.yaml | 0 .../Fields Types/invalid-groupId-type.yaml | 0 .../Operation Bindings Object}/invalid-extra-properties.yaml | 0 .../0.1.0 => kafka/0.1.0/Operation Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../0.1.0/Message Bindings Object}/invalid-extra-properties.yaml | 0 .../mqtt/0.1.0 => mqtt/0.1.0/Message Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Operation Bindings Object}/Fields Types/invalid-qos-type.yaml | 0 .../Fields Types/invalid-retain-type.yaml | 0 .../Operation Bindings Object}/invalid-extra-properties.yaml | 0 .../0.1.0/Operation Bindings Object}/invalid-qos-value.yaml | 0 .../0.1.0 => mqtt/0.1.0/Operation Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Fields Types/invalid-cleanSession-type.yaml | 0 .../Fields Types/invalid-clientId-type.yaml | 0 .../Fields Types/invalid-keepAlive-type.yaml | 0 .../Fields Types/invalid-lastWill-message-type.yaml | 0 .../Fields Types/invalid-lastWill-qos-type.yaml | 0 .../Fields Types/invalid-lastWill-retain-type.yaml | 0 .../Fields Types/invalid-lastWill-topic-type.yaml | 0 .../Fields Types/invalid-lastWill-type.yaml | 0 .../0.1.0/Server Bindings Object}/invalid-extra-properties.yaml | 0 .../mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/valid.yaml | 0 .../Fields Types/invalid-bindingVersion-type.yaml | 0 .../Fields Types/invalid-headers-type.yaml | 0 .../Fields Types/invalid-method-type.yaml | 0 .../Channel Bindings Object}/Fields Types/invalid-query-type.yaml | 0 .../1.1.1/Channel Bindings Object}/invalid-extra-properties.yaml | 0 .../1.1.1/Channel Bindings Object}/invalid-headers-type.yaml | 0 .../1.1.1/Channel Bindings Object}/invalid-method.yaml | 0 .../1.1.1/Channel Bindings Object}/invalid-query-type.yaml | 0 .../ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/valid.yaml | 0 114 files changed, 0 insertions(+), 0 deletions(-) rename tests/{bindings => asyncapi-2.0}/Channel Bindings Object/valid-empty-object.yaml (100%) rename tests/{bindings => asyncapi-2.0}/Message Bindings Object/valid-empty-object.yaml (100%) rename tests/{bindings => asyncapi-2.0}/Operation Bindings Object/valid-empty-object.yaml (100%) rename tests/{bindings => asyncapi-2.0}/Server Bindings Object/valid-empty-object.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-exchange-autoDelete-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-exchange-durable-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-exchange-name-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-exchange-type-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-exchange-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-exchange-vhost-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-is-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-queue-autoDelete-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-queue-durable-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-queue-exclusive-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-queue-name-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-queue-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/Fields Types/invalid-queue-vhost-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/invalid-exchange-name-length.yaml.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/invalid-exchange-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/invalid-is-value.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/invalid-queue-name-length.yaml (100%) rename tests/bindings/{Channel Bindings Object/amqp/0.1.0 => amqp/0.1.0/Channel Bindings Object}/valid.yaml (100%) rename tests/bindings/{Message Bindings Object/amqp/0.1.0 => amqp/0.1.0/Message Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Message Bindings Object/amqp/0.1.0 => amqp/0.1.0/Message Bindings Object}/Fields Types/invalid-contentEncoding-type.yaml (100%) rename tests/bindings/{Message Bindings Object/amqp/0.1.0 => amqp/0.1.0/Message Bindings Object}/Fields Types/invalid-messageType-type.yaml (100%) rename tests/bindings/{Message Bindings Object/amqp/0.1.0 => amqp/0.1.0/Message Bindings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Message Bindings Object/amqp/0.1.0 => amqp/0.1.0/Message Bindings Object}/valid.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-ack-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-bcc-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-cc-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-deliveryMode-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-expiration-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-mandatory-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-priority-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-replyTo-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-timestamp-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/Fields Types/invalid-userId-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/invalid-deliveryMode-value.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/invalid-expiration-below-zero.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Operation Bindings Object/amqp/0.1.0 => amqp/0.1.0/Operation Bindings Object}/valid.yaml (100%) rename tests/bindings/{Message Bindings Object/http/0.1.0 => http/0.1.0/Message Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Message Bindings Object/http/0.1.0 => http/0.1.0/Message Bindings Object}/Fields Types/invalid-headers-type.yaml (100%) rename tests/bindings/{Message Bindings Object/http/0.1.0 => http/0.1.0/Message Bindings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Message Bindings Object/http/0.1.0 => http/0.1.0/Message Bindings Object}/invalid-headers-type.yaml (100%) rename tests/bindings/{Message Bindings Object/http/0.1.0 => http/0.1.0/Message Bindings Object}/valid.yaml (100%) rename tests/bindings/{Operation Bindings Object/http/0.1.0 => http/0.1.0/Operation Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/http/0.1.0 => http/0.1.0/Operation Bindings Object}/Fields Types/invalid-method-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/http/0.1.0 => http/0.1.0/Operation Bindings Object}/Fields Types/invalid-query-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/http/0.1.0 => http/0.1.0/Operation Bindings Object}/Fields Types/invalid-type-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/http/0.1.0 => http/0.1.0/Operation Bindings Object}/invalid-method-value.yaml (100%) rename tests/bindings/{Operation Bindings Object/http/0.1.0 => http/0.1.0/Operation Bindings Object}/invalid-missing-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/http/0.1.0 => http/0.1.0/Operation Bindings Object}/invalid-query-schema-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/http/0.1.0 => http/0.1.0/Operation Bindings Object}/invalid-type-value.yaml (100%) rename tests/bindings/{Operation Bindings Object/http/0.1.0 => http/0.1.0/Operation Bindings Object}/valid.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/Fields Types/invalid-binding-version-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/Fields Types/invalid-destination-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/Fields Types/invalid-max-msg-length-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/Fields Types/invalid-queue-exclusive-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/Fields Types/invalid-queue-is-partitioned-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/Fields Types/invalid-queue-required-objectName.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/Fields Types/invalid-topic-durable-permitted-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/Fields Types/invalid-topic-last-msg-retained-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/invalid-both-types.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/valid-queue.yaml (100%) rename tests/bindings/{Channel Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Channel Bindings Object}/valid-topic.yaml (100%) rename tests/bindings/{Message Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Message Bindings Object}/Fields Types/invalid-binding-version-type.yaml (100%) rename tests/bindings/{Message Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Message Bindings Object}/Fields Types/invalid-expiry-value.yaml (100%) rename tests/bindings/{Message Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Message Bindings Object}/Fields Types/invalid-type-type.yaml (100%) rename tests/bindings/{Message Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Message Bindings Object}/Fields Types/invalid-type-value.yaml (100%) rename tests/bindings/{Message Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Message Bindings Object}/valid.yaml (100%) rename tests/bindings/{Server Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Server BIndings Object}/Fields Types/invalid-heartbeat-interval.yaml (100%) rename tests/bindings/{Server Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Server BIndings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Server Bindings Object/ibmmq/0.1.0 => ibmmq/0.1.0/Server BIndings Object}/valid.yaml (100%) rename tests/bindings/{Message Bindings Object/kafka/0.1.0 => kafka/0.1.0/Message Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Message Bindings Object/kafka/0.1.0 => kafka/0.1.0/Message Bindings Object}/Fields Types/invalid-key-type.yaml (100%) rename tests/bindings/{Message Bindings Object/kafka/0.1.0 => kafka/0.1.0/Message Bindings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Message Bindings Object/kafka/0.1.0 => kafka/0.1.0/Message Bindings Object}/valid.yaml (100%) rename tests/bindings/{Operation Bindings Object/kafka/0.1.0 => kafka/0.1.0/Operation Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/kafka/0.1.0 => kafka/0.1.0/Operation Bindings Object}/Fields Types/invalid-clientId-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/kafka/0.1.0 => kafka/0.1.0/Operation Bindings Object}/Fields Types/invalid-groupId-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/kafka/0.1.0 => kafka/0.1.0/Operation Bindings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Operation Bindings Object/kafka/0.1.0 => kafka/0.1.0/Operation Bindings Object}/valid.yaml (100%) rename tests/bindings/{Message Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Message Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Message Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Message Bindings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Message Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Message Bindings Object}/valid.yaml (100%) rename tests/bindings/{Operation Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Operation Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Operation Bindings Object}/Fields Types/invalid-qos-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Operation Bindings Object}/Fields Types/invalid-retain-type.yaml (100%) rename tests/bindings/{Operation Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Operation Bindings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Operation Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Operation Bindings Object}/invalid-qos-value.yaml (100%) rename tests/bindings/{Operation Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Operation Bindings Object}/valid.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/Fields Types/invalid-cleanSession-type.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/Fields Types/invalid-clientId-type.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/Fields Types/invalid-keepAlive-type.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/Fields Types/invalid-lastWill-message-type.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/Fields Types/invalid-lastWill-qos-type.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/Fields Types/invalid-lastWill-retain-type.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/Fields Types/invalid-lastWill-topic-type.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/Fields Types/invalid-lastWill-type.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Server Bindings Object/mqtt/0.1.0 => mqtt/0.1.0/Server Bindings Object}/valid.yaml (100%) rename tests/bindings/{Channel Bindings Object/ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/Fields Types/invalid-bindingVersion-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/Fields Types/invalid-headers-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/Fields Types/invalid-method-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/Fields Types/invalid-query-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/invalid-extra-properties.yaml (100%) rename tests/bindings/{Channel Bindings Object/ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/invalid-headers-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/invalid-method.yaml (100%) rename tests/bindings/{Channel Bindings Object/ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/invalid-query-type.yaml (100%) rename tests/bindings/{Channel Bindings Object/ws/1.1.1 => ws/1.1.1/Channel Bindings Object}/valid.yaml (100%) diff --git a/tests/bindings/Channel Bindings Object/valid-empty-object.yaml b/tests/asyncapi-2.0/Channel Bindings Object/valid-empty-object.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/valid-empty-object.yaml rename to tests/asyncapi-2.0/Channel Bindings Object/valid-empty-object.yaml diff --git a/tests/bindings/Message Bindings Object/valid-empty-object.yaml b/tests/asyncapi-2.0/Message Bindings Object/valid-empty-object.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/valid-empty-object.yaml rename to tests/asyncapi-2.0/Message Bindings Object/valid-empty-object.yaml diff --git a/tests/bindings/Operation Bindings Object/valid-empty-object.yaml b/tests/asyncapi-2.0/Operation Bindings Object/valid-empty-object.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/valid-empty-object.yaml rename to tests/asyncapi-2.0/Operation Bindings Object/valid-empty-object.yaml diff --git a/tests/bindings/Server Bindings Object/valid-empty-object.yaml b/tests/asyncapi-2.0/Server Bindings Object/valid-empty-object.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/valid-empty-object.yaml rename to tests/asyncapi-2.0/Server Bindings Object/valid-empty-object.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-autoDelete-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-autoDelete-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-autoDelete-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-autoDelete-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-durable-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-durable-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-durable-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-durable-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-name-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-name-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-name-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-name-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-type-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-type-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-type-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-type-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-vhost-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-vhost-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-exchange-vhost-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-exchange-vhost-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-is-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-is-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-is-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-is-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-autoDelete-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-autoDelete-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-autoDelete-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-autoDelete-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-durable-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-durable-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-durable-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-durable-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-exclusive-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-exclusive-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-exclusive-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-exclusive-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-name-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-name-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-name-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-name-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-vhost-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-vhost-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/Fields Types/invalid-queue-vhost-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-vhost-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-exchange-name-length.yaml.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/invalid-exchange-name-length.yaml.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-exchange-name-length.yaml.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/invalid-exchange-name-length.yaml.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-exchange-type.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/invalid-exchange-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-exchange-type.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/invalid-exchange-type.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-is-value.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/invalid-is-value.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-is-value.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/invalid-is-value.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-queue-name-length.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/invalid-queue-name-length.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/invalid-queue-name-length.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/invalid-queue-name-length.yaml diff --git a/tests/bindings/Channel Bindings Object/amqp/0.1.0/valid.yaml b/tests/bindings/amqp/0.1.0/Channel Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/amqp/0.1.0/valid.yaml rename to tests/bindings/amqp/0.1.0/Channel Bindings Object/valid.yaml diff --git a/tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/amqp/0.1.0/Message Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/amqp/0.1.0/Message Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-contentEncoding-type.yaml b/tests/bindings/amqp/0.1.0/Message Bindings Object/Fields Types/invalid-contentEncoding-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-contentEncoding-type.yaml rename to tests/bindings/amqp/0.1.0/Message Bindings Object/Fields Types/invalid-contentEncoding-type.yaml diff --git a/tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-messageType-type.yaml b/tests/bindings/amqp/0.1.0/Message Bindings Object/Fields Types/invalid-messageType-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/amqp/0.1.0/Fields Types/invalid-messageType-type.yaml rename to tests/bindings/amqp/0.1.0/Message Bindings Object/Fields Types/invalid-messageType-type.yaml diff --git a/tests/bindings/Message Bindings Object/amqp/0.1.0/invalid-extra-properties.yaml b/tests/bindings/amqp/0.1.0/Message Bindings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/amqp/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/amqp/0.1.0/Message Bindings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Message Bindings Object/amqp/0.1.0/valid.yaml b/tests/bindings/amqp/0.1.0/Message Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/amqp/0.1.0/valid.yaml rename to tests/bindings/amqp/0.1.0/Message Bindings Object/valid.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-ack-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-ack-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-ack-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-ack-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-bcc-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-bcc-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-bcc-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-bcc-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-cc-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-cc-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-cc-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-cc-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-deliveryMode-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-deliveryMode-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-deliveryMode-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-deliveryMode-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-expiration-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-expiration-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-expiration-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-expiration-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-mandatory-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-mandatory-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-mandatory-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-mandatory-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-priority-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-priority-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-priority-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-priority-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-replyTo-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-replyTo-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-replyTo-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-replyTo-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-timestamp-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-timestamp-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-timestamp-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-timestamp-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-userId-type.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-userId-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/Fields Types/invalid-userId-type.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/Fields Types/invalid-userId-type.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-deliveryMode-value.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/invalid-deliveryMode-value.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-deliveryMode-value.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/invalid-deliveryMode-value.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-expiration-below-zero.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/invalid-expiration-below-zero.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-expiration-below-zero.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/invalid-expiration-below-zero.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-extra-properties.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Operation Bindings Object/amqp/0.1.0/valid.yaml b/tests/bindings/amqp/0.1.0/Operation Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/amqp/0.1.0/valid.yaml rename to tests/bindings/amqp/0.1.0/Operation Bindings Object/valid.yaml diff --git a/tests/bindings/Message Bindings Object/http/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/http/0.1.0/Message Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/http/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/http/0.1.0/Message Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Message Bindings Object/http/0.1.0/Fields Types/invalid-headers-type.yaml b/tests/bindings/http/0.1.0/Message Bindings Object/Fields Types/invalid-headers-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/http/0.1.0/Fields Types/invalid-headers-type.yaml rename to tests/bindings/http/0.1.0/Message Bindings Object/Fields Types/invalid-headers-type.yaml diff --git a/tests/bindings/Message Bindings Object/http/0.1.0/invalid-extra-properties.yaml b/tests/bindings/http/0.1.0/Message Bindings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/http/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/http/0.1.0/Message Bindings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Message Bindings Object/http/0.1.0/invalid-headers-type.yaml b/tests/bindings/http/0.1.0/Message Bindings Object/invalid-headers-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/http/0.1.0/invalid-headers-type.yaml rename to tests/bindings/http/0.1.0/Message Bindings Object/invalid-headers-type.yaml diff --git a/tests/bindings/Message Bindings Object/http/0.1.0/valid.yaml b/tests/bindings/http/0.1.0/Message Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/http/0.1.0/valid.yaml rename to tests/bindings/http/0.1.0/Message Bindings Object/valid.yaml diff --git a/tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/http/0.1.0/Operation Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/http/0.1.0/Operation Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-method-type.yaml b/tests/bindings/http/0.1.0/Operation Bindings Object/Fields Types/invalid-method-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-method-type.yaml rename to tests/bindings/http/0.1.0/Operation Bindings Object/Fields Types/invalid-method-type.yaml diff --git a/tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-query-type.yaml b/tests/bindings/http/0.1.0/Operation Bindings Object/Fields Types/invalid-query-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-query-type.yaml rename to tests/bindings/http/0.1.0/Operation Bindings Object/Fields Types/invalid-query-type.yaml diff --git a/tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-type-type.yaml b/tests/bindings/http/0.1.0/Operation Bindings Object/Fields Types/invalid-type-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/http/0.1.0/Fields Types/invalid-type-type.yaml rename to tests/bindings/http/0.1.0/Operation Bindings Object/Fields Types/invalid-type-type.yaml diff --git a/tests/bindings/Operation Bindings Object/http/0.1.0/invalid-method-value.yaml b/tests/bindings/http/0.1.0/Operation Bindings Object/invalid-method-value.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/http/0.1.0/invalid-method-value.yaml rename to tests/bindings/http/0.1.0/Operation Bindings Object/invalid-method-value.yaml diff --git a/tests/bindings/Operation Bindings Object/http/0.1.0/invalid-missing-type.yaml b/tests/bindings/http/0.1.0/Operation Bindings Object/invalid-missing-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/http/0.1.0/invalid-missing-type.yaml rename to tests/bindings/http/0.1.0/Operation Bindings Object/invalid-missing-type.yaml diff --git a/tests/bindings/Operation Bindings Object/http/0.1.0/invalid-query-schema-type.yaml b/tests/bindings/http/0.1.0/Operation Bindings Object/invalid-query-schema-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/http/0.1.0/invalid-query-schema-type.yaml rename to tests/bindings/http/0.1.0/Operation Bindings Object/invalid-query-schema-type.yaml diff --git a/tests/bindings/Operation Bindings Object/http/0.1.0/invalid-type-value.yaml b/tests/bindings/http/0.1.0/Operation Bindings Object/invalid-type-value.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/http/0.1.0/invalid-type-value.yaml rename to tests/bindings/http/0.1.0/Operation Bindings Object/invalid-type-value.yaml diff --git a/tests/bindings/Operation Bindings Object/http/0.1.0/valid.yaml b/tests/bindings/http/0.1.0/Operation Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/http/0.1.0/valid.yaml rename to tests/bindings/http/0.1.0/Operation Bindings Object/valid.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-binding-version-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-binding-version-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-destination-type.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-destination-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-destination-type.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-destination-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-max-msg-length-type.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-max-msg-length-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-max-msg-length-type.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-max-msg-length-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-exclusive-type.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-exclusive-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-exclusive-type.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-exclusive-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-is-partitioned-type.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-is-partitioned-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-is-partitioned-type.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-is-partitioned-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-required-objectName.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-required-objectName.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-queue-required-objectName.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-queue-required-objectName.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-topic-durable-permitted-type.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-topic-durable-permitted-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-topic-durable-permitted-type.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-topic-durable-permitted-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-topic-last-msg-retained-type.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-topic-last-msg-retained-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/Fields Types/invalid-topic-last-msg-retained-type.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/Fields Types/invalid-topic-last-msg-retained-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/invalid-both-types.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/invalid-both-types.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/invalid-both-types.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/invalid-both-types.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/valid-queue.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/valid-queue.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/valid-queue.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/valid-queue.yaml diff --git a/tests/bindings/Channel Bindings Object/ibmmq/0.1.0/valid-topic.yaml b/tests/bindings/ibmmq/0.1.0/Channel Bindings Object/valid-topic.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ibmmq/0.1.0/valid-topic.yaml rename to tests/bindings/ibmmq/0.1.0/Channel Bindings Object/valid-topic.yaml diff --git a/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml b/tests/bindings/ibmmq/0.1.0/Message Bindings Object/Fields Types/invalid-binding-version-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-binding-version-type.yaml rename to tests/bindings/ibmmq/0.1.0/Message Bindings Object/Fields Types/invalid-binding-version-type.yaml diff --git a/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-expiry-value.yaml b/tests/bindings/ibmmq/0.1.0/Message Bindings Object/Fields Types/invalid-expiry-value.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-expiry-value.yaml rename to tests/bindings/ibmmq/0.1.0/Message Bindings Object/Fields Types/invalid-expiry-value.yaml diff --git a/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-type-type.yaml b/tests/bindings/ibmmq/0.1.0/Message Bindings Object/Fields Types/invalid-type-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-type-type.yaml rename to tests/bindings/ibmmq/0.1.0/Message Bindings Object/Fields Types/invalid-type-type.yaml diff --git a/tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-type-value.yaml b/tests/bindings/ibmmq/0.1.0/Message Bindings Object/Fields Types/invalid-type-value.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/ibmmq/0.1.0/Fields Types/invalid-type-value.yaml rename to tests/bindings/ibmmq/0.1.0/Message Bindings Object/Fields Types/invalid-type-value.yaml diff --git a/tests/bindings/Message Bindings Object/ibmmq/0.1.0/valid.yaml b/tests/bindings/ibmmq/0.1.0/Message Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/ibmmq/0.1.0/valid.yaml rename to tests/bindings/ibmmq/0.1.0/Message Bindings Object/valid.yaml diff --git a/tests/bindings/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml b/tests/bindings/ibmmq/0.1.0/Server BIndings Object/Fields Types/invalid-heartbeat-interval.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/ibmmq/0.1.0/Fields Types/invalid-heartbeat-interval.yaml rename to tests/bindings/ibmmq/0.1.0/Server BIndings Object/Fields Types/invalid-heartbeat-interval.yaml diff --git a/tests/bindings/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml b/tests/bindings/ibmmq/0.1.0/Server BIndings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/ibmmq/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/ibmmq/0.1.0/Server BIndings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Server Bindings Object/ibmmq/0.1.0/valid.yaml b/tests/bindings/ibmmq/0.1.0/Server BIndings Object/valid.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/ibmmq/0.1.0/valid.yaml rename to tests/bindings/ibmmq/0.1.0/Server BIndings Object/valid.yaml diff --git a/tests/bindings/Message Bindings Object/kafka/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/kafka/0.1.0/Message Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/kafka/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/kafka/0.1.0/Message Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Message Bindings Object/kafka/0.1.0/Fields Types/invalid-key-type.yaml b/tests/bindings/kafka/0.1.0/Message Bindings Object/Fields Types/invalid-key-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/kafka/0.1.0/Fields Types/invalid-key-type.yaml rename to tests/bindings/kafka/0.1.0/Message Bindings Object/Fields Types/invalid-key-type.yaml diff --git a/tests/bindings/Message Bindings Object/kafka/0.1.0/invalid-extra-properties.yaml b/tests/bindings/kafka/0.1.0/Message Bindings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/kafka/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/kafka/0.1.0/Message Bindings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Message Bindings Object/kafka/0.1.0/valid.yaml b/tests/bindings/kafka/0.1.0/Message Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/kafka/0.1.0/valid.yaml rename to tests/bindings/kafka/0.1.0/Message Bindings Object/valid.yaml diff --git a/tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/kafka/0.1.0/Operation Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/kafka/0.1.0/Operation Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-clientId-type.yaml b/tests/bindings/kafka/0.1.0/Operation Bindings Object/Fields Types/invalid-clientId-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-clientId-type.yaml rename to tests/bindings/kafka/0.1.0/Operation Bindings Object/Fields Types/invalid-clientId-type.yaml diff --git a/tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-groupId-type.yaml b/tests/bindings/kafka/0.1.0/Operation Bindings Object/Fields Types/invalid-groupId-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/kafka/0.1.0/Fields Types/invalid-groupId-type.yaml rename to tests/bindings/kafka/0.1.0/Operation Bindings Object/Fields Types/invalid-groupId-type.yaml diff --git a/tests/bindings/Operation Bindings Object/kafka/0.1.0/invalid-extra-properties.yaml b/tests/bindings/kafka/0.1.0/Operation Bindings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/kafka/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/kafka/0.1.0/Operation Bindings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Operation Bindings Object/kafka/0.1.0/valid.yaml b/tests/bindings/kafka/0.1.0/Operation Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/kafka/0.1.0/valid.yaml rename to tests/bindings/kafka/0.1.0/Operation Bindings Object/valid.yaml diff --git a/tests/bindings/Message Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/mqtt/0.1.0/Message Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/mqtt/0.1.0/Message Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Message Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml b/tests/bindings/mqtt/0.1.0/Message Bindings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/mqtt/0.1.0/Message Bindings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Message Bindings Object/mqtt/0.1.0/valid.yaml b/tests/bindings/mqtt/0.1.0/Message Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Message Bindings Object/mqtt/0.1.0/valid.yaml rename to tests/bindings/mqtt/0.1.0/Message Bindings Object/valid.yaml diff --git a/tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/mqtt/0.1.0/Operation Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/mqtt/0.1.0/Operation Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-qos-type.yaml b/tests/bindings/mqtt/0.1.0/Operation Bindings Object/Fields Types/invalid-qos-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-qos-type.yaml rename to tests/bindings/mqtt/0.1.0/Operation Bindings Object/Fields Types/invalid-qos-type.yaml diff --git a/tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-retain-type.yaml b/tests/bindings/mqtt/0.1.0/Operation Bindings Object/Fields Types/invalid-retain-type.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/mqtt/0.1.0/Fields Types/invalid-retain-type.yaml rename to tests/bindings/mqtt/0.1.0/Operation Bindings Object/Fields Types/invalid-retain-type.yaml diff --git a/tests/bindings/Operation Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml b/tests/bindings/mqtt/0.1.0/Operation Bindings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/mqtt/0.1.0/Operation Bindings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Operation Bindings Object/mqtt/0.1.0/invalid-qos-value.yaml b/tests/bindings/mqtt/0.1.0/Operation Bindings Object/invalid-qos-value.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/mqtt/0.1.0/invalid-qos-value.yaml rename to tests/bindings/mqtt/0.1.0/Operation Bindings Object/invalid-qos-value.yaml diff --git a/tests/bindings/Operation Bindings Object/mqtt/0.1.0/valid.yaml b/tests/bindings/mqtt/0.1.0/Operation Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Operation Bindings Object/mqtt/0.1.0/valid.yaml rename to tests/bindings/mqtt/0.1.0/Operation Bindings Object/valid.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-cleanSession-type.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-cleanSession-type.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-cleanSession-type.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-cleanSession-type.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-clientId-type.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-clientId-type.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-clientId-type.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-clientId-type.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-keepAlive-type.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-keepAlive-type.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-keepAlive-type.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-keepAlive-type.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-message-type.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-message-type.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-message-type.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-message-type.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-qos-type.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-qos-type.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-qos-type.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-qos-type.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-retain-type.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-retain-type.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-retain-type.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-retain-type.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-topic-type.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-topic-type.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-topic-type.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-topic-type.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-type.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-type.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/Fields Types/invalid-lastWill-type.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/Fields Types/invalid-lastWill-type.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/invalid-extra-properties.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Server Bindings Object/mqtt/0.1.0/valid.yaml b/tests/bindings/mqtt/0.1.0/Server Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Server Bindings Object/mqtt/0.1.0/valid.yaml rename to tests/bindings/mqtt/0.1.0/Server Bindings Object/valid.yaml diff --git a/tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-bindingVersion-type.yaml b/tests/bindings/ws/1.1.1/Channel Bindings Object/Fields Types/invalid-bindingVersion-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-bindingVersion-type.yaml rename to tests/bindings/ws/1.1.1/Channel Bindings Object/Fields Types/invalid-bindingVersion-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-headers-type.yaml b/tests/bindings/ws/1.1.1/Channel Bindings Object/Fields Types/invalid-headers-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-headers-type.yaml rename to tests/bindings/ws/1.1.1/Channel Bindings Object/Fields Types/invalid-headers-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-method-type.yaml b/tests/bindings/ws/1.1.1/Channel Bindings Object/Fields Types/invalid-method-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-method-type.yaml rename to tests/bindings/ws/1.1.1/Channel Bindings Object/Fields Types/invalid-method-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-query-type.yaml b/tests/bindings/ws/1.1.1/Channel Bindings Object/Fields Types/invalid-query-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ws/1.1.1/Fields Types/invalid-query-type.yaml rename to tests/bindings/ws/1.1.1/Channel Bindings Object/Fields Types/invalid-query-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-extra-properties.yaml b/tests/bindings/ws/1.1.1/Channel Bindings Object/invalid-extra-properties.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-extra-properties.yaml rename to tests/bindings/ws/1.1.1/Channel Bindings Object/invalid-extra-properties.yaml diff --git a/tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-headers-type.yaml b/tests/bindings/ws/1.1.1/Channel Bindings Object/invalid-headers-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-headers-type.yaml rename to tests/bindings/ws/1.1.1/Channel Bindings Object/invalid-headers-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-method.yaml b/tests/bindings/ws/1.1.1/Channel Bindings Object/invalid-method.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-method.yaml rename to tests/bindings/ws/1.1.1/Channel Bindings Object/invalid-method.yaml diff --git a/tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-query-type.yaml b/tests/bindings/ws/1.1.1/Channel Bindings Object/invalid-query-type.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ws/1.1.1/invalid-query-type.yaml rename to tests/bindings/ws/1.1.1/Channel Bindings Object/invalid-query-type.yaml diff --git a/tests/bindings/Channel Bindings Object/ws/1.1.1/valid.yaml b/tests/bindings/ws/1.1.1/Channel Bindings Object/valid.yaml similarity index 100% rename from tests/bindings/Channel Bindings Object/ws/1.1.1/valid.yaml rename to tests/bindings/ws/1.1.1/Channel Bindings Object/valid.yaml From 0ccce507c4e22d923fb75f577f57270cf3319c32 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Fri, 30 Jul 2021 13:39:25 +0200 Subject: [PATCH 14/14] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Maciej UrbaƄczyk --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5fd06973..636e0f0d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # AsyncAPI tck AsyncAPI's Test Compatibility Kit (TCK) provides a way for AsyncAPI processors to test their level of compliance with the specification. This TCK contains a set of AsyncAPI documents meant to be used to test correct and incorrect usage of each AsyncAPI feature. -The TCK is build for version <= 2.0.0. +The TCK is build for version >=2.0.0. ## Contributing We welcome contributions! If you have a new test case in mind, feel free to submit a pull request. More info on how to do that [here](./CONTRIBUTING.md).