-
-
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
0a7a8fe
commit 88d260b
Showing
1 changed file
with
78 additions
and
78 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,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" | ||
} |