Skip to content

Commit 2a8ea92

Browse files
feat: move tags and externalDocs objects from root to the info object (#244)
1 parent 6dfff33 commit 2a8ea92

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

definitions/3.0.0/info.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@
3434
},
3535
"license": {
3636
"$ref": "http://asyncapi.com/definitions/3.0.0/license.json"
37+
},
38+
"tags": {
39+
"type": "array",
40+
"items": {
41+
"$ref": "http://asyncapi.com/definitions/3.0.0/tag.json"
42+
},
43+
"uniqueItems": true
44+
},
45+
"externalDocs": {
46+
"$ref": "http://asyncapi.com/definitions/3.0.0/externalDocs.json"
3747
}
3848
},
3949
"$schema": "http://json-schema.org/draft-07/schema#",

schemas/3.0.0.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,6 @@
4343
},
4444
"components": {
4545
"$ref": "http://asyncapi.com/definitions/3.0.0/components.json"
46-
},
47-
"tags": {
48-
"type": "array",
49-
"items": {
50-
"$ref": "http://asyncapi.com/definitions/3.0.0/tag.json"
51-
},
52-
"uniqueItems": true
53-
},
54-
"externalDocs": {
55-
"$ref": "http://asyncapi.com/definitions/3.0.0/externalDocs.json"
5646
}
5747
},
5848
"definitions": {

0 commit comments

Comments
 (0)