diff --git a/README.md b/README.md index 3fd000278..f3b7d84b5 100644 --- a/README.md +++ b/README.md @@ -102,10 +102,6 @@ Check out the [examples](https://github.com/asyncapi/asyncapi/blob/master/exampl - - - - @@ -131,6 +127,10 @@ Check out the [examples](https://github.com/asyncapi/asyncapi/blob/master/exampl + + + +
diff --git a/assets/swix.png b/assets/swix.png new file mode 100644 index 000000000..88325e9dd Binary files /dev/null and b/assets/swix.png differ diff --git a/examples/gitter-streaming.yml b/examples/gitter-streaming.yml index 444bc9b81..b1dd57b29 100644 --- a/examples/gitter-streaming.yml +++ b/examples/gitter-streaming.yml @@ -160,5 +160,9 @@ components: streamingHeaders: http: headers: - 'Transfer-Encoding': 'chunked' - Trailer: '\r\n' + type: object + properties: + 'Transfer-Encoding': + const: 'chunked' + Trailer: + const: '\r\n' diff --git a/spec/asyncapi.md b/spec/asyncapi.md index 26bbd7f33..e57815747 100644 --- a/spec/asyncapi.md +++ b/spec/asyncapi.md @@ -595,7 +595,7 @@ Describes the operations available on a single channel. Field Name | Type | Description ---|:---:|--- -$ref | `string` | Allows for a referenced definition of this channel item. The referenced structure MUST be in the form of a [Channel Item Object](#channelItemObject). In case a Channel Item Object field appears both in the defined object and the referenced object, the behavior is _undefined_. Resolution is done as defined by the [JSON Reference](https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03).