-
-
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.
feat: release for version 2.5.0 of the spec (#265)
Co-authored-by: Sergio Moya <[email protected]> Co-authored-by: asyncapi-bot <[email protected]> Co-authored-by: asyncapi-bot-eve <[email protected]> Co-authored-by: Jeremy Whitlock <[email protected]> Co-authored-by: derberg <[email protected]>
- Loading branch information
1 parent
c05d386
commit 652c200
Showing
51 changed files
with
3,865 additions
and
324 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 |
---|---|---|
@@ -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.5.0/specificationExtension.json" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.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,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.5.0/specificationExtension.json" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.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/2.5.0/NonBearerHTTPSecurityScheme.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/BearerHTTPSecurityScheme.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/APIKeyHTTPSecurityScheme.json" | ||
} | ||
], | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.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,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.5.0/specificationExtension.json" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.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,13 @@ | ||
{ | ||
"type": "object", | ||
"required": [ | ||
"$ref" | ||
], | ||
"properties": { | ||
"$ref": { | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/ReferenceObject.json" | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.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,6 @@ | ||
{ | ||
"type": "string", | ||
"format": "uri-reference", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.0/ReferenceObject.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,25 @@ | ||
{ | ||
"type": "object", | ||
"required": [ | ||
"type" | ||
], | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"gssapi" | ||
] | ||
}, | ||
"description": { | ||
"type": "string" | ||
} | ||
}, | ||
"patternProperties": { | ||
"^x-[\\w\\d\\.\\x2d_]+$": { | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/specificationExtension.json" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.0/SaslGssapiSecurityScheme.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,25 @@ | ||
{ | ||
"type": "object", | ||
"required": [ | ||
"type" | ||
], | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"plain" | ||
] | ||
}, | ||
"description": { | ||
"type": "string" | ||
} | ||
}, | ||
"patternProperties": { | ||
"^x-[\\w\\d\\.\\x2d_]+$": { | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/specificationExtension.json" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.0/SaslPlainSecurityScheme.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,26 @@ | ||
{ | ||
"type": "object", | ||
"required": [ | ||
"type" | ||
], | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"scramSha256", | ||
"scramSha512" | ||
] | ||
}, | ||
"description": { | ||
"type": "string" | ||
} | ||
}, | ||
"patternProperties": { | ||
"^x-[\\w\\d\\.\\x2d_]+$": { | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/specificationExtension.json" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.0/SaslScramSecurityScheme.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/2.5.0/SaslPlainSecurityScheme.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/SaslScramSecurityScheme.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/SaslGssapiSecurityScheme.json" | ||
} | ||
], | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.0/SaslSecurityScheme.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,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.5.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,33 @@ | ||
{ | ||
"oneOf": [ | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/userPassword.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/apiKey.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/X509.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/symmetricEncryption.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/asymmetricEncryption.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/HTTPSecurityScheme.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/oauth2Flows.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/openIdConnect.json" | ||
}, | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/2.5.0/SaslSecurityScheme.json" | ||
} | ||
], | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.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,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.5.0/specificationExtension.json" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.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,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.5.0/specificationExtension.json" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.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,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.5.0/specificationExtension.json" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/definitions/2.5.0/asymmetricEncryption.json" | ||
} |
Oops, something went wrong.