Skip to content

Commit

Permalink
feat: move tags and externalDocs objects from root to the info object (
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatatjahu authored Feb 6, 2023
1 parent 6dfff33 commit 2a8ea92
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions definitions/3.0.0/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@
},
"license": {
"$ref": "http://asyncapi.com/definitions/3.0.0/license.json"
},
"tags": {
"type": "array",
"items": {
"$ref": "http://asyncapi.com/definitions/3.0.0/tag.json"
},
"uniqueItems": true
},
"externalDocs": {
"$ref": "http://asyncapi.com/definitions/3.0.0/externalDocs.json"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
Expand Down
10 changes: 0 additions & 10 deletions schemas/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,6 @@
},
"components": {
"$ref": "http://asyncapi.com/definitions/3.0.0/components.json"
},
"tags": {
"type": "array",
"items": {
"$ref": "http://asyncapi.com/definitions/3.0.0/tag.json"
},
"uniqueItems": true
},
"externalDocs": {
"$ref": "http://asyncapi.com/definitions/3.0.0/externalDocs.json"
}
},
"definitions": {
Expand Down

0 comments on commit 2a8ea92

Please sign in to comment.