Befor generating
This commit is contained in:
Generated
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type",
|
||||
"name",
|
||||
"in"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"httpApiKey"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"in": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"header",
|
||||
"query",
|
||||
"cookie"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/APIKeyHTTPSecurityScheme.json"
|
||||
}
|
||||
Generated
Vendored
+35
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type",
|
||||
"scheme"
|
||||
],
|
||||
"properties": {
|
||||
"scheme": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"bearer"
|
||||
]
|
||||
},
|
||||
"bearerFormat": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"http"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/BearerHTTPSecurityScheme.json"
|
||||
}
|
||||
Generated
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/NonBearerHTTPSecurityScheme.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/BearerHTTPSecurityScheme.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/APIKeyHTTPSecurityScheme.json"
|
||||
}
|
||||
],
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/HTTPSecurityScheme.json"
|
||||
}
|
||||
openapi_templete/node_modules/@asyncapi/specs/definitions/2.0.0-rc1/NonBearerHTTPSecurityScheme.json
Generated
Vendored
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"not": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scheme": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"bearer"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"required": [
|
||||
"scheme",
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"scheme": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"http"
|
||||
]
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/NonBearerHTTPSecurityScheme.json"
|
||||
}
|
||||
Generated
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"$ref"
|
||||
],
|
||||
"properties": {
|
||||
"$ref": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
}
|
||||
Generated
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json"
|
||||
}
|
||||
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/SecurityRequirement.json"
|
||||
}
|
||||
Generated
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/userPassword.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/apiKey.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/X509.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/symmetricEncryption.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/asymmetricEncryption.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/HTTPSecurityScheme.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flows.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/openIdConnect.json"
|
||||
}
|
||||
],
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/SecurityScheme.json"
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"X509"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/X509.json"
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type",
|
||||
"in"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"apiKey"
|
||||
]
|
||||
},
|
||||
"in": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"user",
|
||||
"password"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/apiKey.json"
|
||||
}
|
||||
Generated
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"asymmetricEncryption"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/asymmetricEncryption.json"
|
||||
}
|
||||
Generated
Vendored
+61
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"title": "AsyncAPI 2.0.0-rc1 schema.",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/asyncapi.json",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"asyncapi",
|
||||
"id",
|
||||
"info",
|
||||
"channels"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"asyncapi": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2.0.0-rc1"
|
||||
],
|
||||
"description": "The AsyncAPI specification version of this document."
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "A unique id representing the application.",
|
||||
"format": "uri-reference"
|
||||
},
|
||||
"info": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/info.json"
|
||||
},
|
||||
"servers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/server.json"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"defaultContentType": {
|
||||
"type": "string"
|
||||
},
|
||||
"channels": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/channels.json"
|
||||
},
|
||||
"components": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/components.json"
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/tag.json"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
Vendored
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"$ref": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json"
|
||||
},
|
||||
"parameters": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/parameters.json"
|
||||
},
|
||||
"publish": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/operation.json"
|
||||
},
|
||||
"subscribe": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/operation.json"
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"protocolInfo": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/channelItem.json"
|
||||
}
|
||||
Generated
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"type": "string",
|
||||
"format": "uri-template",
|
||||
"minLength": 1
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/channelItem.json"
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/channels.json"
|
||||
}
|
||||
Generated
Vendored
+51
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"schemas": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schemas.json"
|
||||
},
|
||||
"messages": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/messages.json"
|
||||
},
|
||||
"securitySchemes": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[\\w\\d\\.\\-_]+$": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/SecurityScheme.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/parameters.json"
|
||||
},
|
||||
"correlationIds": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[\\w\\d\\.\\-_]+$": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/correlationId.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/traits.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/components.json"
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "Contact information for the owners of the API.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The identifying name of the contact person/organization."
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The URL pointing to the contact information.",
|
||||
"format": "uri"
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "The email address of the contact person/organization.",
|
||||
"format": "email"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/contact.json"
|
||||
}
|
||||
Generated
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"location"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A optional description of the correlation ID. GitHub Flavored Markdown is allowed."
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "A runtime expression that specifies the location of the correlation ID",
|
||||
"pattern": "^\\$message\\.(header|payload)#(/\\w+)+"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/correlationId.json"
|
||||
}
|
||||
Generated
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "information about external documentation",
|
||||
"required": [
|
||||
"url"
|
||||
],
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "General information about the API.",
|
||||
"required": [
|
||||
"version",
|
||||
"title"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string",
|
||||
"description": "A unique and precise title of the API."
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "A semantic version number of the API."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A longer description of the API. Should be different from the title. CommonMark is allowed."
|
||||
},
|
||||
"termsOfService": {
|
||||
"type": "string",
|
||||
"description": "A URL to the Terms of Service for the API. MUST be in the format of a URL.",
|
||||
"format": "uri"
|
||||
},
|
||||
"contact": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/contact.json"
|
||||
},
|
||||
"license": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/license.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/info.json"
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the license type. It's encouraged to use an OSI compatible license."
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The URL pointing to the license.",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/license.json"
|
||||
}
|
||||
+98
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"schemaFormat": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentType": {
|
||||
"type": "string"
|
||||
},
|
||||
"headers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"payload": {},
|
||||
"correlationId": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/correlationId.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/tag.json"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"description": "A brief summary of the message."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the message."
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"description": "A human-friendly title for the message."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A longer description of the message. CommonMark is allowed."
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"examples": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"protocolInfo": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/messageTrait.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/message.json"
|
||||
}
|
||||
Generated
Vendored
+84
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"schemaFormat": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentType": {
|
||||
"type": "string"
|
||||
},
|
||||
"headers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"correlationId": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/correlationId.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/tag.json"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"description": "A brief summary of the message."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the message."
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"description": "A human-friendly title for the message."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A longer description of the message. CommonMark is allowed."
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"examples": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"protocolInfo": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/messageTrait.json"
|
||||
}
|
||||
Generated
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/message.json"
|
||||
},
|
||||
"description": "JSON objects describing the messages being consumed and produced by the API.",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/messages.json"
|
||||
}
|
||||
Generated
Vendored
+28
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"authorizationUrl": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"tokenUrl": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"refreshUrl": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"scopes": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/oauth2Scopes.json"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json"
|
||||
}
|
||||
Generated
Vendored
+106
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type",
|
||||
"flows"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"oauth2"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"flows": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"implicit": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json"
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"authorizationUrl",
|
||||
"scopes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"not": {
|
||||
"required": [
|
||||
"tokenUrl"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"password": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json"
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"tokenUrl",
|
||||
"scopes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"not": {
|
||||
"required": [
|
||||
"authorizationUrl"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"clientCredentials": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json"
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"tokenUrl",
|
||||
"scopes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"not": {
|
||||
"required": [
|
||||
"authorizationUrl"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"authorizationCode": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json"
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"authorizationUrl",
|
||||
"tokenUrl",
|
||||
"scopes"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"minProperties": 1
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flows.json"
|
||||
}
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/oauth2Scopes.json"
|
||||
}
|
||||
Generated
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type",
|
||||
"openIdConnectUrl"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"openIdConnect"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"openIdConnectUrl": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/openIdConnect.json"
|
||||
}
|
||||
Generated
Vendored
+79
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"traits": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/operationTrait.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/tag.json"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string"
|
||||
},
|
||||
"protocolInfo": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"message": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/message.json"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"oneOf"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": {
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/message.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/operation.json"
|
||||
}
|
||||
Generated
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/tag.json"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string"
|
||||
},
|
||||
"protocolInfo": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/operationTrait.json"
|
||||
}
|
||||
Generated
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the parameter."
|
||||
},
|
||||
"schema": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
},
|
||||
"$ref": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/parameter.json"
|
||||
}
|
||||
Generated
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/parameter.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "JSON objects describing re-usable channel parameters.",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/parameters.json"
|
||||
}
|
||||
+156
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "A deterministic version of a JSON Schema object.",
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"$ref": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json"
|
||||
},
|
||||
"format": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/title"
|
||||
},
|
||||
"description": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/description"
|
||||
},
|
||||
"default": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/default"
|
||||
},
|
||||
"multipleOf": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/multipleOf"
|
||||
},
|
||||
"maximum": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/maximum"
|
||||
},
|
||||
"exclusiveMaximum": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
|
||||
},
|
||||
"minimum": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/minimum"
|
||||
},
|
||||
"exclusiveMinimum": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
|
||||
},
|
||||
"maxLength": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
|
||||
},
|
||||
"minLength": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
|
||||
},
|
||||
"pattern": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/pattern"
|
||||
},
|
||||
"maxItems": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
|
||||
},
|
||||
"minItems": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
|
||||
},
|
||||
"uniqueItems": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/uniqueItems"
|
||||
},
|
||||
"maxProperties": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
|
||||
},
|
||||
"minProperties": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
|
||||
},
|
||||
"required": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/definitions/stringArray"
|
||||
},
|
||||
"enum": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/enum"
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"additionalProperties": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
],
|
||||
"default": {}
|
||||
},
|
||||
"type": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/type"
|
||||
},
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default": {}
|
||||
},
|
||||
"allOf": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
}
|
||||
},
|
||||
"oneOf": {
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
}
|
||||
},
|
||||
"anyOf": {
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
}
|
||||
},
|
||||
"not": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
},
|
||||
"properties": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
},
|
||||
"default": {}
|
||||
},
|
||||
"discriminator": {
|
||||
"type": "string"
|
||||
},
|
||||
"readOnly": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"xml": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/xml.json"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"
|
||||
},
|
||||
"example": {},
|
||||
"examples": {
|
||||
"type": "array",
|
||||
"items": {}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/schema.json"
|
||||
},
|
||||
"description": "JSON objects describing schemas the API uses.",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/schemas.json"
|
||||
}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "An object representing a Server.",
|
||||
"required": [
|
||||
"url",
|
||||
"protocol"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"protocol": {
|
||||
"type": "string",
|
||||
"description": "The transfer protocol."
|
||||
},
|
||||
"protocolVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"variables": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/serverVariables.json"
|
||||
},
|
||||
"baseChannel": {
|
||||
"type": "string",
|
||||
"x-format": "uri-path"
|
||||
},
|
||||
"security": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/SecurityRequirement.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/server.json"
|
||||
}
|
||||
Generated
Vendored
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "An object representing a Server Variable for server URL template substitution.",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"enum": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"default": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"examples": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/serverVariable.json"
|
||||
}
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/serverVariable.json"
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/serverVariables.json"
|
||||
}
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"description": "Any property starting with x- is valid.",
|
||||
"additionalProperties": true,
|
||||
"additionalItems": true,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
Generated
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"symmetricEncryption"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/symmetricEncryption.json"
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/tag.json"
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/operationTrait.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/messageTrait.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/traits.json"
|
||||
}
|
||||
Generated
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"userPassword"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-[\\w\\d\\.\\x2d_]+$": {
|
||||
"$ref": "http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/userPassword.json"
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"attribute": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"wrapped": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://asyncapi.com/definitions/2.0.0-rc1/xml.json"
|
||||
}
|
||||
Reference in New Issue
Block a user