Skip to content

Commit 38ec3d6

Browse files
authored
feat: allow reusability of Server Variable Object (#250)
1 parent 6f264fb commit 38ec3d6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

definitions/2.5.0/serverVariables.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
{
22
"type": "object",
33
"additionalProperties": {
4-
"$ref": "http://asyncapi.com/definitions/2.5.0/serverVariable.json"
4+
"oneOf": [
5+
{
6+
"$ref": "http://asyncapi.com/definitions/2.5.0/Reference.json"
7+
},
8+
{
9+
"$ref": "http://asyncapi.com/definitions/2.5.0/serverVariable.json"
10+
}
11+
]
512
},
613
"$schema": "http://json-schema.org/draft-07/schema#",
714
"$id": "http://asyncapi.com/definitions/2.5.0/serverVariables.json"

0 commit comments

Comments
 (0)