From 58f03bf38c454487b4fd800888f031dd62e9cc1c Mon Sep 17 00:00:00 2001 From: "jonas-lt@live.dk" Date: Tue, 13 Jun 2023 19:51:32 +0200 Subject: [PATCH 1/2] adapt readme --- websockets/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websockets/README.md b/websockets/README.md index 47b18121..d3a5a977 100644 --- a/websockets/README.md +++ b/websockets/README.md @@ -6,7 +6,7 @@ This document defines how to describe WebSockets-specific information on AsyncAP ## Version -Current version is `0.1.0`. +Current version is `1.0.0`. @@ -49,4 +49,4 @@ This object MUST NOT contain any properties. Its name is reserved for future use This object MUST NOT contain any properties. Its name is reserved for future use. -[schemaObject]: https://www.asyncapi.com/docs/specifications/2.0.0/#schemaObject \ No newline at end of file +[schemaObject]: https://www.asyncapi.com/docs/specificationsv3.0.0-next-major-spec.12/#schemaObject \ No newline at end of file From 437215e823fa31c3ca078194ea6b589d48bfdba5 Mon Sep 17 00:00:00 2001 From: "jonas-lt@live.dk" Date: Thu, 22 Jun 2023 15:35:47 +0200 Subject: [PATCH 2/2] finilize binding --- websockets/README.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/websockets/README.md b/websockets/README.md index d3a5a977..34c3fcb6 100644 --- a/websockets/README.md +++ b/websockets/README.md @@ -6,8 +6,7 @@ This document defines how to describe WebSockets-specific information on AsyncAP ## Version -Current version is `1.0.0`. - +Current version is `0.2.0`. @@ -15,9 +14,6 @@ Current version is `1.0.0`. This object MUST NOT contain any properties. Its name is reserved for future use. - - - ## Channel Binding Object @@ -29,8 +25,8 @@ When using WebSockets, the channel represents the connection. Unlike other proto Field Name | Type | Description ---|:---:|--- `method` | string | The HTTP method to use when establishing the connection. Its value MUST be either `GET` or `POST`. -`query` | [Schema Object][schemaObject] | A Schema object containing the definitions for each query parameter. This schema MUST be of type `object` and have a `properties` key. -`headers` | [Schema Object][schemaObject] | A Schema object containing the definitions of the HTTP headers to use when establishing the connection. This schema MUST be of type `object` and have a `properties` key. +`query` | [Parameters Object][parametersObject] | A Schema object containing the definitions for each query parameter. +`headers` | [Parameters Object][parametersObject] | A Schema object containing the definitions of the HTTP headers to use when establishing the connection. `bindingVersion` | string | The version of this binding. If omitted, "latest" MUST be assumed. This object MUST contain only the properties defined above. @@ -41,7 +37,6 @@ This object MUST contain only the properties defined above. This object MUST NOT contain any properties. Its name is reserved for future use. - ## Message Binding Object @@ -49,4 +44,4 @@ This object MUST NOT contain any properties. Its name is reserved for future use This object MUST NOT contain any properties. Its name is reserved for future use. -[schemaObject]: https://www.asyncapi.com/docs/specificationsv3.0.0-next-major-spec.12/#schemaObject \ No newline at end of file +[parametersObject]: https://www.asyncapi.com/docs/specifications/latest/#parametersObject \ No newline at end of file