-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88d260b
commit 6503d49
Showing
1 changed file
with
39 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
{ | ||
"type": "object", | ||
"description": "An object representing a Server Variable for server URL template substitution.", | ||
"additionalProperties": false, | ||
"patternProperties": { | ||
"^x-[\\w\\d\\.\\x2d_]+$": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json" | ||
} | ||
}, | ||
"properties": { | ||
"enum": { | ||
"type": "array", | ||
"description": "An enumeration of string values to be used if the substitution options are from a limited set.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"uniqueItems": true | ||
}, | ||
"default": { | ||
"type": "string", | ||
"description": "The default value to use for substitution, and to send, if an alternate value is not supplied." | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "An optional description for the server variable. CommonMark syntax MAY be used for rich text representation." | ||
}, | ||
"examples": { | ||
"type": "array", | ||
"description": "An array of examples of the server variable.", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"example": { | ||
"$ref": "http://asyncapi.com/examples/3.0.0/serverVariable.json" | ||
}, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/3.0.0/serverVariable.json" | ||
} | ||
"type": "object", | ||
"description": "An object representing a Server Variable for server URL template substitution.", | ||
"additionalProperties": false, | ||
"patternProperties": { | ||
"^x-[\\w\\d\\.\\x2d_]+$": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json" | ||
} | ||
}, | ||
"properties": { | ||
"enum": { | ||
"type": "array", | ||
"description": "An enumeration of string values to be used if the substitution options are from a limited set.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"uniqueItems": true | ||
}, | ||
"default": { | ||
"type": "string", | ||
"description": "The default value to use for substitution, and to send, if an alternate value is not supplied." | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "An optional description for the server variable. CommonMark syntax MAY be used for rich text representation." | ||
}, | ||
"examples": { | ||
"type": "array", | ||
"description": "An array of examples of the server variable.", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"example": { | ||
"$ref": "http://asyncapi.com/examples/3.0.0/serverVariable.json" | ||
}, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/3.0.0/serverVariable.json" | ||
} |