-
-
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
53c76a8
commit 3039448
Showing
377 changed files
with
25,597 additions
and
10,695 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,4 +1,4 @@ | ||
node_modules | ||
.nyc_output | ||
.vscode | ||
coverage | ||
coverage |
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
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} |
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 |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} |
Oops, something went wrong.