From 4e2cb9b56b7f7127707cd3a4c7973a06832cf336 Mon Sep 17 00:00:00 2001 From: acethecreator Date: Wed, 27 Sep 2023 17:38:53 +0100 Subject: [PATCH] added description and object examples to schema 3.0.0 --- .DS_Store | Bin 0 -> 6148 bytes definitions/.DS_Store | Bin 0 -> 8196 bytes .../3.0.0/APIKeyHTTPSecurityScheme.json | 11 +- .../3.0.0/BearerHTTPSecurityScheme.json | 8 +- .../3.0.0/NonBearerHTTPSecurityScheme.json | 10 +- definitions/3.0.0/Reference.json | 5 + .../3.0.0/SaslGssapiSecurityScheme.json | 7 +- .../3.0.0/SaslPlainSecurityScheme.json | 9 +- .../3.0.0/SaslScramSecurityScheme.json | 9 +- definitions/3.0.0/SecurityScheme.json | 4 + definitions/3.0.0/X509.json | 3 + definitions/3.0.0/apiKey.json | 8 +- definitions/3.0.0/asymmetricEncryption.json | 4 +- definitions/3.0.0/asyncapi.json | 3 +- definitions/3.0.0/channel.json | 141 ++++++++-------- definitions/3.0.0/channelBindingsObject.json | 1 + definitions/3.0.0/channels.json | 30 ++-- definitions/3.0.0/components.json | 23 ++- definitions/3.0.0/contact.json | 55 ++++--- definitions/3.0.0/correlationId.json | 4 + definitions/3.0.0/externalDocs.json | 9 +- definitions/3.0.0/info.json | 6 +- definitions/3.0.0/license.json | 47 +++--- definitions/3.0.0/messageBindingsObject.json | 1 + definitions/3.0.0/messageObject.json | 12 +- definitions/3.0.0/messageTrait.json | 11 +- definitions/3.0.0/multiFormatSchema.json | 6 +- definitions/3.0.0/oauth2Flow.json | 60 ++++--- definitions/3.0.0/oauth2Flows.json | 11 +- definitions/3.0.0/openIdConnect.json | 9 +- definitions/3.0.0/operation.json | 7 + .../3.0.0/operationBindingsObject.json | 1 + definitions/3.0.0/operationReply.json | 2 + definitions/3.0.0/operationReplyAddress.json | 4 + definitions/3.0.0/operationTrait.json | 75 +++++---- definitions/3.0.0/operations.json | 4 + definitions/3.0.0/parameter.json | 10 +- definitions/3.0.0/parameters.json | 31 ++-- definitions/3.0.0/schema.json | 5 +- definitions/3.0.0/server.json | 153 +++++++++--------- definitions/3.0.0/serverBindingsObject.json | 1 + definitions/3.0.0/serverVariable.json | 69 ++++---- definitions/3.0.0/servers.json | 31 ++-- definitions/3.0.0/symmetricEncryption.json | 3 + definitions/3.0.0/tag.json | 10 +- definitions/3.0.0/userPassword.json | 3 + examples/.DS_Store | Bin 0 -> 6148 bytes examples/3.0.0/APIKeyHTTPSecurityScheme.json | 7 + examples/3.0.0/ReferenceObject.json | 3 + examples/3.0.0/Sasl.json | 5 + examples/3.0.0/SecurityScheme.json | 5 + examples/3.0.0/X509.json | 5 + examples/3.0.0/apiKey.json | 6 + examples/3.0.0/channel.json | 40 +++++ examples/3.0.0/channels.json | 12 ++ examples/3.0.0/components.json | 130 +++++++++++++++ examples/3.0.0/contact.json | 8 + examples/3.0.0/correlationId.json | 4 + examples/3.0.0/externalDocs.json | 4 + examples/3.0.0/info.json | 27 ++++ examples/3.0.0/license.json | 7 + examples/3.0.0/messageObject.json | 58 +++++++ examples/3.0.0/messageTrait.json | 3 + examples/3.0.0/oauth2Flow.json | 8 + examples/3.0.0/operation.json | 31 ++++ examples/3.0.0/operationReplyAddress.json | 4 + examples/3.0.0/operationTrait.json | 7 + examples/3.0.0/operations.json | 18 +++ examples/3.0.0/parameter.json | 9 ++ examples/3.0.0/parameters.json | 8 + examples/3.0.0/server.json | 14 ++ examples/3.0.0/serverVariable.json | 14 ++ examples/3.0.0/servers.json | 38 +++++ examples/3.0.0/symmetricEncryption.json | 3 + examples/3.0.0/tag.json | 4 + examples/3.0.0/userPassword.json | 5 + 76 files changed, 1045 insertions(+), 358 deletions(-) create mode 100644 .DS_Store create mode 100644 definitions/.DS_Store create mode 100644 examples/.DS_Store create mode 100644 examples/3.0.0/APIKeyHTTPSecurityScheme.json create mode 100644 examples/3.0.0/ReferenceObject.json create mode 100644 examples/3.0.0/Sasl.json create mode 100644 examples/3.0.0/SecurityScheme.json create mode 100644 examples/3.0.0/X509.json create mode 100644 examples/3.0.0/apiKey.json create mode 100644 examples/3.0.0/channel.json create mode 100644 examples/3.0.0/channels.json create mode 100644 examples/3.0.0/components.json create mode 100644 examples/3.0.0/contact.json create mode 100644 examples/3.0.0/correlationId.json create mode 100644 examples/3.0.0/externalDocs.json create mode 100644 examples/3.0.0/info.json create mode 100644 examples/3.0.0/license.json create mode 100644 examples/3.0.0/messageObject.json create mode 100644 examples/3.0.0/messageTrait.json create mode 100644 examples/3.0.0/oauth2Flow.json create mode 100644 examples/3.0.0/operation.json create mode 100644 examples/3.0.0/operationReplyAddress.json create mode 100644 examples/3.0.0/operationTrait.json create mode 100644 examples/3.0.0/operations.json create mode 100644 examples/3.0.0/parameter.json create mode 100644 examples/3.0.0/parameters.json create mode 100644 examples/3.0.0/server.json create mode 100644 examples/3.0.0/serverVariable.json create mode 100644 examples/3.0.0/servers.json create mode 100644 examples/3.0.0/symmetricEncryption.json create mode 100644 examples/3.0.0/tag.json create mode 100644 examples/3.0.0/userPassword.json diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..669bfb463f34af47a87533bf67690bf4d5920e43 GIT binary patch literal 6148 zcmeHKJxjzu5S_idB6=WK+6bxaudrW_*b7$+dglCqe1Qs9lK*p7VrgsVAMnQrzS$Yh zgxnq2h{_DizRm2+X7V;o@+-SdeyzOv$DEgmF<=ZB z1Am19)NGb$C}^WGU@v(pa6g}Y<_IJlGZf;Jih#z32azFdyD{vWOH|Jy-! zWegYt|B3-ONT$gIkEFG=^Ke{iW9TWAh5c&5We6sr6vLNG@h&t7>@iP(Ua=O01!6w} Mfd(6lfgfey6Lel$c>n+a literal 0 HcmV?d00001 diff --git a/definitions/.DS_Store b/definitions/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a41cbfc34b1b6513f42498afff5dc98bfa84cac1 GIT binary patch literal 8196 zcmeI1ziSjx5Xa};op2(kU||Z2t*kWMU7|J?Ygh}xLXt)VL2?ll?zkWX!DRBtG75FbJVBZfJ9@ge;OK0iTfhTGK(6;b04g8FK0L5f%bGD_k6pHtB-Gkv! z!!3q!;poq-9Bt0Fbk>D~ap7Q?Y`8-)M8~*{M!Yp*`A^Z2m zbJ9B;6~*#kw2W8Vhkrg@dvf{xnYv=-4~o_6!7l`66T_KLIY|DcOnO6p z^V15!Z_wMq&A%7V|HiF~Pu`G!XuZZ~h3BUglAj|0=TEUQfBlj4hWsOUp8NS%@!|Z_ z3d!F@0POXAI1V?V4_)~j?)THGFrUSX!q*|Kko=D4&&BI^<5a~bZ#e&Vk6+69v%>S!3dz6V`SUUV%h8HY-jIK9@JjMo z;rVIBME;4G|JA1Fo-TPq{?_bk$!CSiM>wkINItThWI&SU(U947Ckur`VRrzzod8f c@cUO^pBG2WpQ1ENJBv4tuO%$<>{Py|DxbYag2F(F1)c0Ps=;P~1K zy-h1Ngus^UbK^&>oK$g5L_B$%kBA0DltBf1doUYB;-VetnMZ;g?{TuYA5CxTYT3zk z$M0l7-rX*Z>6p%;YwvG-mqx3)D9S}$!ke8vJ-@!(yj`wm%)iN4KCJvg_#Nfwe=5DZ z{f7r>bhZD-(e?16wEk^C_aQnfj`Irm>V{V@Id^JK%~KqGw`Dfd;-H`KLG#$ literal 0 HcmV?d00001 diff --git a/examples/3.0.0/APIKeyHTTPSecurityScheme.json b/examples/3.0.0/APIKeyHTTPSecurityScheme.json new file mode 100644 index 00000000..e1bddc93 --- /dev/null +++ b/examples/3.0.0/APIKeyHTTPSecurityScheme.json @@ -0,0 +1,7 @@ +[ + { + "type": "httpApiKey", + "name": "api_key", + "in": "header" + } +] \ No newline at end of file diff --git a/examples/3.0.0/ReferenceObject.json b/examples/3.0.0/ReferenceObject.json new file mode 100644 index 00000000..1bc58e64 --- /dev/null +++ b/examples/3.0.0/ReferenceObject.json @@ -0,0 +1,3 @@ +[{ + "$ref": "#/components/schemas/Pet" +}] \ No newline at end of file diff --git a/examples/3.0.0/Sasl.json b/examples/3.0.0/Sasl.json new file mode 100644 index 00000000..85ea380b --- /dev/null +++ b/examples/3.0.0/Sasl.json @@ -0,0 +1,5 @@ +[ + { + "type": "scramSha512" + } +] \ No newline at end of file diff --git a/examples/3.0.0/SecurityScheme.json b/examples/3.0.0/SecurityScheme.json new file mode 100644 index 00000000..eb52bb8b --- /dev/null +++ b/examples/3.0.0/SecurityScheme.json @@ -0,0 +1,5 @@ +[ + { + "type": "userPassword" + } +] \ No newline at end of file diff --git a/examples/3.0.0/X509.json b/examples/3.0.0/X509.json new file mode 100644 index 00000000..690ba0a2 --- /dev/null +++ b/examples/3.0.0/X509.json @@ -0,0 +1,5 @@ +[ + { + "type": "X509" + } +] \ No newline at end of file diff --git a/examples/3.0.0/apiKey.json b/examples/3.0.0/apiKey.json new file mode 100644 index 00000000..5ae19cc0 --- /dev/null +++ b/examples/3.0.0/apiKey.json @@ -0,0 +1,6 @@ +[ + { + "type": "apiKey", + "in": "user" + } +] diff --git a/examples/3.0.0/channel.json b/examples/3.0.0/channel.json new file mode 100644 index 00000000..0fc0dab0 --- /dev/null +++ b/examples/3.0.0/channel.json @@ -0,0 +1,40 @@ +[{ + "address": "users.{userId}", + "title": "Users channel", + "description": "This channel is used to exchange messages about user events.", + "messages": { + "userSignedUp": { + "$ref": "#/components/messages/userSignedUp" + }, + "userCompletedOrder": { + "$ref": "#/components/messages/userCompletedOrder" + } + }, + "parameters": { + "userId": { + "$ref": "#/components/parameters/userId" + } + }, + "servers": [ + { "$ref": "#/servers/rabbitmqInProd" }, + { "$ref": "#/servers/rabbitmqInStaging" } + ], + "bindings": { + "amqp": { + "is": "queue", + "queue": { + "exclusive": true + } + } + }, + "tags": [ + { + "name": "user", + "description": "User-related messages" + } + ], + "externalDocs": { + "description": "Find more info here", + "url": "https://example.com" + } +}] \ No newline at end of file diff --git a/examples/3.0.0/channels.json b/examples/3.0.0/channels.json new file mode 100644 index 00000000..b9aeb6a6 --- /dev/null +++ b/examples/3.0.0/channels.json @@ -0,0 +1,12 @@ +[ + { + "userSignedUp": { + "address": "user.signedup", + "messages": { + "userSignedUp": { + "$ref": "#/components/messages/userSignedUp" + } + } + } + } +] diff --git a/examples/3.0.0/components.json b/examples/3.0.0/components.json new file mode 100644 index 00000000..c0331a88 --- /dev/null +++ b/examples/3.0.0/components.json @@ -0,0 +1,130 @@ +[{ + "components": { + "schemas": { + "Category": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + } + } + }, + "Tag": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + } + } + }, + "AvroExample": { + "schemaFormat": "application/vnd.apache.avro+json;version=1.9.0", + "schema": { + "$ref": "path/to/user-create.avsc#/UserCreate" + } + } + }, + "servers": { + "development": { + "host": "{stage}.in.mycompany.com:{port}", + "description": "RabbitMQ broker", + "protocol": "amqp", + "protocolVersion": "0-9-1", + "variables": { + "stage": { + "$ref": "#/components/serverVariables/stage" + }, + "port": { + "$ref": "#/components/serverVariables/port" + } + } + } + }, + "serverVariables": { + "stage": { + "default": "demo", + "description": "This value is assigned by the service provider, in this example `mycompany.com`" + }, + "port": { + "enum": ["5671", "5672"], + "default": "5672" + } + }, + "channels": { + "user/signedup": { + "subscribe": { + "message": { + "$ref": "#/components/messages/userSignUp" + } + } + } + }, + "messages": { + "userSignUp": { + "summary": "Action to sign a user up.", + "description": "Multiline description of what this action does.\nHere you have another line.\n", + "tags": [ + { + "name": "user" + }, + { + "name": "signup" + } + ], + "headers": { + "type": "object", + "properties": { + "applicationInstanceId": { + "description": "Unique identifier for a given instance of the publishing application", + "type": "string" + } + } + }, + "payload": { + "type": "object", + "properties": { + "user": { + "$ref": "#/components/schemas/userCreate" + }, + "signup": { + "$ref": "#/components/schemas/signup" + } + } + } + } + }, + "parameters": { + "userId": { + "description": "Id of the user." + } + }, + "correlationIds": { + "default": { + "description": "Default Correlation ID", + "location": "$message.header#/correlationId" + } + }, + "messageTraits": { + "commonHeaders": { + "headers": { + "type": "object", + "properties": { + "my-app-header": { + "type": "integer", + "minimum": 0, + "maximum": 100 + } + } + } + } + } + } +}] \ No newline at end of file diff --git a/examples/3.0.0/contact.json b/examples/3.0.0/contact.json new file mode 100644 index 00000000..1c81a963 --- /dev/null +++ b/examples/3.0.0/contact.json @@ -0,0 +1,8 @@ +[ + { + "name": "API Support", + "url": "https://www.example.com/support", + "email": "support@example.com" + } + +] \ No newline at end of file diff --git a/examples/3.0.0/correlationId.json b/examples/3.0.0/correlationId.json new file mode 100644 index 00000000..82d8a96e --- /dev/null +++ b/examples/3.0.0/correlationId.json @@ -0,0 +1,4 @@ +[{ + "description": "Default Correlation ID", + "location": "$message.header#/correlationId" +}] \ No newline at end of file diff --git a/examples/3.0.0/externalDocs.json b/examples/3.0.0/externalDocs.json new file mode 100644 index 00000000..18c3766a --- /dev/null +++ b/examples/3.0.0/externalDocs.json @@ -0,0 +1,4 @@ +[{ + "description": "Find more info here", + "url": "https://example.com" +}] \ No newline at end of file diff --git a/examples/3.0.0/info.json b/examples/3.0.0/info.json new file mode 100644 index 00000000..26bcdf95 --- /dev/null +++ b/examples/3.0.0/info.json @@ -0,0 +1,27 @@ +[ + { + "title": "AsyncAPI Sample App", + "version": "1.0.1", + "description": "This is a sample app.", + "termsOfService": "https://asyncapi.org/terms/", + "contact": { + "name": "API Support", + "url": "https://www.asyncapi.org/support", + "email": "support@asyncapi.org" + }, + "license": { + "name": "Apache 2.0", + "url": "https://www.apache.org/licenses/LICENSE-2.0.html" + }, + "externalDocs": { + "description": "Find more info here", + "url": "https://www.asyncapi.org" + }, + "tags": [ + { + "name": "e-commerce" + } + ] + } + +] \ No newline at end of file diff --git a/examples/3.0.0/license.json b/examples/3.0.0/license.json new file mode 100644 index 00000000..18becf4f --- /dev/null +++ b/examples/3.0.0/license.json @@ -0,0 +1,7 @@ +[ + { + "name": "Apache 2.0", + "url": "https://www.apache.org/licenses/LICENSE-2.0.html" + } + +] \ No newline at end of file diff --git a/examples/3.0.0/messageObject.json b/examples/3.0.0/messageObject.json new file mode 100644 index 00000000..9243d026 --- /dev/null +++ b/examples/3.0.0/messageObject.json @@ -0,0 +1,58 @@ +[ +{ + "messageId": "userSignup", + "name": "UserSignup", + "title": "User signup", + "summary": "Action to sign a user up.", + "description": "A longer description", + "contentType": "application/json", + "tags": [{ "name": "user" }, { "name": "signup" }, { "name": "register" }], + "headers": { + "type": "object", + "properties": { + "correlationId": { + "description": "Correlation ID set by application", + "type": "string" + }, + "applicationInstanceId": { + "description": "Unique identifier for a given instance of the publishing application", + "type": "string" + } + } + }, + "payload": { + "type": "object", + "properties": { + "user": { + "$ref": "#/components/schemas/userCreate" + }, + "signup": { + "$ref": "#/components/schemas/signup" + } + } + }, + "correlationId": { + "description": "Default Correlation ID", + "location": "$message.header#/correlationId" + }, + "traits": [{ "$ref": "#/components/messageTraits/commonHeaders" }], + "examples": [ + { + "name": "SimpleSignup", + "summary": "A simple UserSignup example message", + "headers": { + "correlationId": "my-correlation-id", + "applicationInstanceId": "myInstanceId" + }, + "payload": { + "user": { + "someUserKey": "someUserValue" + }, + "signup": { + "someSignupKey": "someSignupValue" + } + } + } + ] +} +] \ No newline at end of file diff --git a/examples/3.0.0/messageTrait.json b/examples/3.0.0/messageTrait.json new file mode 100644 index 00000000..5126ee4a --- /dev/null +++ b/examples/3.0.0/messageTrait.json @@ -0,0 +1,3 @@ +[ { + "contentType": "application/json" +} ] \ No newline at end of file diff --git a/examples/3.0.0/oauth2Flow.json b/examples/3.0.0/oauth2Flow.json new file mode 100644 index 00000000..0f8b4083 --- /dev/null +++ b/examples/3.0.0/oauth2Flow.json @@ -0,0 +1,8 @@ +[{ + "authorizationUrl": "https://example.com/api/oauth/dialog", + "tokenUrl": "https://example.com/api/oauth/token", + "availableScopes": { + "write:pets": "modify pets in your account", + "read:pets": "read your pets" + } +}] \ No newline at end of file diff --git a/examples/3.0.0/operation.json b/examples/3.0.0/operation.json new file mode 100644 index 00000000..bdddeb81 --- /dev/null +++ b/examples/3.0.0/operation.json @@ -0,0 +1,31 @@ +[{ + "title": "User sign up", + "summary": "Action to sign a user up.", + "description": "A longer description", + "channel": { + "$ref": "#/channels/userSignup" + }, + "action": "send", + "security": [ + { + "petstore_auth": ["write:pets", "read:pets"] + } + ], + "tags": [{ "name": "user" }, { "name": "signup" }, { "name": "register" }], + "bindings": { + "amqp": { + "ack": false + } + }, + "traits": [{ "$ref": "#/components/operationTraits/kafka" }], + "messages": [{ "$ref": "/components/messages/userSignedUp" }], + "reply": { + "address": { + "location": "$message.header#/replyTo" + }, + "channel": { + "$ref": "#/channels/userSignupReply" + }, + "messages": [{ "$ref": "/components/messages/userSignedUpReply" }] + } +}] \ No newline at end of file diff --git a/examples/3.0.0/operationReplyAddress.json b/examples/3.0.0/operationReplyAddress.json new file mode 100644 index 00000000..53a7a78b --- /dev/null +++ b/examples/3.0.0/operationReplyAddress.json @@ -0,0 +1,4 @@ +[{ + "description": "Consumer inbox", + "location": "$message.header#/replyTo" +}] \ No newline at end of file diff --git a/examples/3.0.0/operationTrait.json b/examples/3.0.0/operationTrait.json new file mode 100644 index 00000000..98e8dbf5 --- /dev/null +++ b/examples/3.0.0/operationTrait.json @@ -0,0 +1,7 @@ +[{ + "bindings": { + "amqp": { + "ack": false + } + } +}] \ No newline at end of file diff --git a/examples/3.0.0/operations.json b/examples/3.0.0/operations.json new file mode 100644 index 00000000..a623a01a --- /dev/null +++ b/examples/3.0.0/operations.json @@ -0,0 +1,18 @@ +[{ + "onUserSignUp": { + "title": "User sign up", + "summary": "Action to sign a user up.", + "description": "A longer description", + "channel": { + "$ref": "#/channels/userSignup" + }, + "action": "send", + "tags": [{ "name": "user" }, { "name": "signup" }, { "name": "register" }], + "bindings": { + "amqp": { + "ack": false + } + }, + "traits": [{ "$ref": "#/components/operationTraits/kafka" }] + } +}] \ No newline at end of file diff --git a/examples/3.0.0/parameter.json b/examples/3.0.0/parameter.json new file mode 100644 index 00000000..45e25436 --- /dev/null +++ b/examples/3.0.0/parameter.json @@ -0,0 +1,9 @@ +[{ + "address": "user/{userId}/signedup", + "parameters": { + "userId": { + "description": "Id of the user.", + "location": "$message.payload#/user/id" + } + } +}] \ No newline at end of file diff --git a/examples/3.0.0/parameters.json b/examples/3.0.0/parameters.json new file mode 100644 index 00000000..ad7bc889 --- /dev/null +++ b/examples/3.0.0/parameters.json @@ -0,0 +1,8 @@ +[{ + "address": "user/{userId}/signedup", + "parameters": { + "userId": { + "description": "Id of the user." + } + } +}] \ No newline at end of file diff --git a/examples/3.0.0/server.json b/examples/3.0.0/server.json new file mode 100644 index 00000000..3868a102 --- /dev/null +++ b/examples/3.0.0/server.json @@ -0,0 +1,14 @@ +[ + { + "host": "kafka.in.mycompany.com:9092", + "description": "Production Kafka broker.", + "protocol": "kafka", + "protocolVersion": "3.2" + }, + { + "host": "rabbitmq.in.mycompany.com:5672", + "pathname": "/production", + "protocol": "amqp", + "description": "Production RabbitMQ broker (uses the `production` vhost)." + } +] diff --git a/examples/3.0.0/serverVariable.json b/examples/3.0.0/serverVariable.json new file mode 100644 index 00000000..467af35f --- /dev/null +++ b/examples/3.0.0/serverVariable.json @@ -0,0 +1,14 @@ +[ + { + "host": "rabbitmq.in.mycompany.com:5672", + "pathname": "/{env}", + "protocol": "amqp", + "description": "RabbitMQ broker. Use the `env` variable to point to either `production` or `staging`.", + "variables": { + "env": { + "description": "Environment to connect to. It can be either `production` or `staging`.", + "enum": ["production", "staging"] + } + } + } +] diff --git a/examples/3.0.0/servers.json b/examples/3.0.0/servers.json new file mode 100644 index 00000000..be5bd9a1 --- /dev/null +++ b/examples/3.0.0/servers.json @@ -0,0 +1,38 @@ +[ { + "development": { + "host": "localhost:5672", + "description": "Development AMQP broker.", + "protocol": "amqp", + "protocolVersion": "0-9-1", + "tags": [ + { + "name": "env:development", + "description": "This environment is meant for developers to run their own tests." + } + ] + }, + "staging": { + "host": "rabbitmq-staging.in.mycompany.com:5672", + "description": "RabbitMQ broker for the staging environment.", + "protocol": "amqp", + "protocolVersion": "0-9-1", + "tags": [ + { + "name": "env:staging", + "description": "This environment is a replica of the production environment." + } + ] + }, + "production": { + "host": "rabbitmq.in.mycompany.com:5672", + "description": "RabbitMQ broker for the production environment.", + "protocol": "amqp", + "protocolVersion": "0-9-1", + "tags": [ + { + "name": "env:production", + "description": "This environment is the live environment available for final users." + } + ] + } +} ] \ No newline at end of file diff --git a/examples/3.0.0/symmetricEncryption.json b/examples/3.0.0/symmetricEncryption.json new file mode 100644 index 00000000..cd4a9731 --- /dev/null +++ b/examples/3.0.0/symmetricEncryption.json @@ -0,0 +1,3 @@ +[{ + "type": "symmetricEncryption" +}] \ No newline at end of file diff --git a/examples/3.0.0/tag.json b/examples/3.0.0/tag.json new file mode 100644 index 00000000..4258baa6 --- /dev/null +++ b/examples/3.0.0/tag.json @@ -0,0 +1,4 @@ +[{ + "name": "user", + "description": "User-related messages" +}] \ No newline at end of file diff --git a/examples/3.0.0/userPassword.json b/examples/3.0.0/userPassword.json new file mode 100644 index 00000000..eb52bb8b --- /dev/null +++ b/examples/3.0.0/userPassword.json @@ -0,0 +1,5 @@ +[ + { + "type": "userPassword" + } +] \ No newline at end of file