Befor generating
This commit is contained in:
Generated
Vendored
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"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-": {}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/APIKeyHTTPSecurityScheme.json"
|
||||
}
|
||||
Generated
Vendored
+33
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type",
|
||||
"scheme"
|
||||
],
|
||||
"properties": {
|
||||
"scheme": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"bearer"
|
||||
]
|
||||
},
|
||||
"bearerFormat": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"http"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-": {}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/BearerHTTPSecurityScheme.json"
|
||||
}
|
||||
Generated
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/NonBearerHTTPSecurityScheme.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/BearerHTTPSecurityScheme.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/APIKeyHTTPSecurityScheme.json"
|
||||
}
|
||||
],
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/HTTPSecurityScheme.json"
|
||||
}
|
||||
Generated
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"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-": {}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/NonBearerHTTPSecurityScheme.json"
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"$ref"
|
||||
],
|
||||
"properties": {
|
||||
"$ref": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/Reference.json"
|
||||
}
|
||||
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/SecurityRequirement.json"
|
||||
}
|
||||
Generated
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/userPassword.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/apiKey.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/X509.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/symmetricEncryption.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/asymmetricEncryption.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/HTTPSecurityScheme.json"
|
||||
}
|
||||
],
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/SecurityScheme.json"
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"X509"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-": {}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/X509.json"
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type",
|
||||
"in"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"apiKey"
|
||||
]
|
||||
},
|
||||
"in": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"user",
|
||||
"password"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-": {}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/apiKey.json"
|
||||
}
|
||||
Generated
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"asymmetricEncryption"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-": {}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/asymmetricEncryption.json"
|
||||
}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"title": "AsyncAPI 1.0 schema.",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/asyncapi.json",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"asyncapi",
|
||||
"info",
|
||||
"topics"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"asyncapi": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"1.0.0"
|
||||
],
|
||||
"description": "The AsyncAPI specification version of this document."
|
||||
},
|
||||
"info": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/info.json"
|
||||
},
|
||||
"baseTopic": {
|
||||
"type": "string",
|
||||
"pattern": "^[^/.]",
|
||||
"description": "The base topic to the API. Example: 'hitch'.",
|
||||
"default": ""
|
||||
},
|
||||
"servers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/server.json"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"topics": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/topics.json"
|
||||
},
|
||||
"components": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/components.json"
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/tag.json"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"security": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/SecurityRequirement.json"
|
||||
}
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/externalDocs.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"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/1.0.0/schemas.json"
|
||||
},
|
||||
"messages": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/messages.json"
|
||||
},
|
||||
"securitySchemes": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[a-zA-Z0-9\\.\\-_]+$": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/Reference.json"
|
||||
},
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/SecurityScheme.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/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-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/contact.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-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/externalDocs.json"
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "General information about the API.",
|
||||
"required": [
|
||||
"version",
|
||||
"title"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.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/1.0.0/contact.json"
|
||||
},
|
||||
"license": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/license.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/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-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/license.json"
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"$ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"headers": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/schema.json"
|
||||
},
|
||||
"payload": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/schema.json"
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/tag.json"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"description": "A brief summary of the message."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A longer description of the message. CommonMark is allowed."
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/externalDocs.json"
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"example": {}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/message.json"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/message.json"
|
||||
},
|
||||
"description": "JSON objects describing the messages being consumed and produced by the API.",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/messages.json"
|
||||
}
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "A deterministic version of a JSON Schema object.",
|
||||
"patternProperties": {
|
||||
"^x-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"$ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/schema.json"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
],
|
||||
"default": {}
|
||||
},
|
||||
"type": {
|
||||
"$ref": "http://json-schema.org/draft-04/schema#/properties/type"
|
||||
},
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/schema.json"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/schema.json"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default": {}
|
||||
},
|
||||
"allOf": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/schema.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/schema.json"
|
||||
},
|
||||
"default": {}
|
||||
},
|
||||
"discriminator": {
|
||||
"type": "string"
|
||||
},
|
||||
"readOnly": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"xml": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/xml.json"
|
||||
},
|
||||
"externalDocs": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/externalDocs.json"
|
||||
},
|
||||
"example": {}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/schema.json"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/schema.json"
|
||||
},
|
||||
"description": "JSON objects describing schemas the API uses.",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/schemas.json"
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "An object representing a Server.",
|
||||
"required": [
|
||||
"url",
|
||||
"scheme"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"scheme": {
|
||||
"type": "string",
|
||||
"description": "The transfer protocol.",
|
||||
"enum": [
|
||||
"kafka",
|
||||
"kafka-secure",
|
||||
"amqp",
|
||||
"amqps",
|
||||
"mqtt",
|
||||
"mqtts",
|
||||
"secure-mqtt",
|
||||
"ws",
|
||||
"wss",
|
||||
"stomp",
|
||||
"stomps"
|
||||
]
|
||||
},
|
||||
"schemeVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"variables": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/serverVariables.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/server.json"
|
||||
}
|
||||
Generated
Vendored
+28
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "An object representing a Server Variable for server URL template substitution.",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"enum": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"default": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/serverVariable.json"
|
||||
}
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/serverVariable.json"
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/serverVariables.json"
|
||||
}
|
||||
Generated
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"symmetricEncryption"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-": {}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/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/1.0.0/externalDocs.json"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/tag.json"
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
}
|
||||
},
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"$ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"publish": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/message.json"
|
||||
},
|
||||
"subscribe": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/message.json"
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/topicItem.json"
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "object",
|
||||
"description": "Relative paths to the individual topics. They must be relative to the 'baseTopic'.",
|
||||
"patternProperties": {
|
||||
"^x-": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/vendorExtension.json"
|
||||
},
|
||||
"^[^.]": {
|
||||
"$ref": "http://asyncapi.com/definitions/1.0.0/topicItem.json"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/topics.json"
|
||||
}
|
||||
Generated
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"userPassword"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x-": {}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/userPassword.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-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/vendorExtension.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-04/schema#",
|
||||
"id": "http://asyncapi.com/definitions/1.0.0/xml.json"
|
||||
}
|
||||
Reference in New Issue
Block a user