diff --git a/spec/asyncapi.md b/spec/asyncapi.md index 25cfc0f9..ffd958aa 100644 --- a/spec/asyncapi.md +++ b/spec/asyncapi.md @@ -1869,38 +1869,6 @@ Name | Allowed values | Notes -```json -"channels":{ - "example": { - "messages": { - "myMessage": { - "payload": { - "schemaFormat": "application/vnd.apache.avro;version=1.9.0", - "schema": { - "type": "record", - "name": "User", - "namespace": "com.company", - "doc": "User information", - "fields": [ - { - "name": "displayName", - "type": "string" - }, - { - "name": "age", - "type": "int" - } - ] - } - } - } - } - } -} -``` - - - ```yaml channels: example: @@ -2709,27 +2677,6 @@ Traits MUST be merged with the target object using the [JSON Merge Patch](https: An object like the following: - -```json -{ - "description": "A longer description.", - "traits": [ - { - "name": "UserSignup", - "description": "Description from trait." - }, - { - "tags": [ - { - "name": "user" - } - ] - } - ] -} -``` - - ```yaml description: A longer description. traits: @@ -2741,20 +2688,6 @@ traits: Would look like the following after applying traits: - -```json -{ - "name": "UserSignup", - "description": "A longer description.", - "tags": [ - { - "name": "user" - } - ] -} -``` - - ```yaml name: UserSignup description: A longer description.