Skip to content

Commit

Permalink
feat: allow reusability of Server Variable Object (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n authored Sep 16, 2022
1 parent 6f264fb commit 38ec3d6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion definitions/2.5.0/serverVariables.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"type": "object",
"additionalProperties": {
"$ref": "http://asyncapi.com/definitions/2.5.0/serverVariable.json"
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/2.5.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/2.5.0/serverVariable.json"
}
]
},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/2.5.0/serverVariables.json"
Expand Down

0 comments on commit 38ec3d6

Please sign in to comment.