Skip to content

Commit

Permalink
Update server.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Nov 8, 2023
1 parent 0a7a8fe commit 88d260b
Showing 1 changed file with 78 additions and 78 deletions.
156 changes: 78 additions & 78 deletions definitions/3.0.0/server.json
Original file line number Diff line number Diff line change
@@ -1,79 +1,79 @@
{
"type": "object",
"description": "An object representing a message broker, a server or any other kind of computer program capable of sending and/or receiving data.",
"required": ["host", "protocol"],
"additionalProperties": false,
"patternProperties": {
"^x-[\\w\\d\\.\\x2d_]+$": {
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json"
}
},
"properties": {
"host": {
"type": "string",
"description": "The server host name. It MAY include the port. This field supports Server Variables. Variable substitutions will be made when a variable is named in {braces}."
},
"pathname": {
"type": "string",
"description": "The path to a resource in the host. This field supports Server Variables. Variable substitutions will be made when a variable is named in {braces}."
},
"title": {
"type": "string",
"description": "A human-friendly title for the server."
},
"summary": {
"type": "string",
"description": "A brief summary of the server."
},
"description": {
"type": "string",
"description": "A longer description of the server. CommonMark is allowed."
},
"protocol": {
"type": "string",
"description": "The protocol this server supports for connection."
},
"protocolVersion": {
"type": "string",
"description": "An optional string describing the server. CommonMark syntax MAY be used for rich text representation."
},
"variables": {
"$ref": "http://asyncapi.com/definitions/3.0.0/serverVariables.json"
},
"security": {
"$ref": "http://asyncapi.com/definitions/3.0.0/securityRequirements.json"
},
"tags": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/tag.json"
}
]
},
"uniqueItems": true
},
"externalDocs": {
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/externalDocs.json"
}
]
},
"bindings": {
"$ref": "http://asyncapi.com/definitions/3.0.0/serverBindingsObject.json"
}
},
"example": {
"$ref": "http://asyncapi.com/examples/3.0.0/server.json"
},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/server.json"
}
"type": "object",
"description": "An object representing a message broker, a server or any other kind of computer program capable of sending and/or receiving data.",
"required": ["host", "protocol"],
"additionalProperties": false,
"patternProperties": {
"^x-[\\w\\d\\.\\x2d_]+$": {
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json"
}
},
"properties": {
"host": {
"type": "string",
"description": "The server host name. It MAY include the port. This field supports Server Variables. Variable substitutions will be made when a variable is named in {braces}."
},
"pathname": {
"type": "string",
"description": "The path to a resource in the host. This field supports Server Variables. Variable substitutions will be made when a variable is named in {braces}."
},
"title": {
"type": "string",
"description": "A human-friendly title for the server."
},
"summary": {
"type": "string",
"description": "A brief summary of the server."
},
"description": {
"type": "string",
"description": "A longer description of the server. CommonMark is allowed."
},
"protocol": {
"type": "string",
"description": "The protocol this server supports for connection."
},
"protocolVersion": {
"type": "string",
"description": "An optional string describing the server. CommonMark syntax MAY be used for rich text representation."
},
"variables": {
"$ref": "http://asyncapi.com/definitions/3.0.0/serverVariables.json"
},
"security": {
"$ref": "http://asyncapi.com/definitions/3.0.0/securityRequirements.json"
},
"tags": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/tag.json"
}
]
},
"uniqueItems": true
},
"externalDocs": {
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/externalDocs.json"
}
]
},
"bindings": {
"$ref": "http://asyncapi.com/definitions/3.0.0/serverBindingsObject.json"
}
},
"example": {
"$ref": "http://asyncapi.com/examples/3.0.0/server.json"
},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/server.json"
}

0 comments on commit 88d260b

Please sign in to comment.