Skip to content

Commit

Permalink
Update fed-mgr-msg.json
Browse files Browse the repository at this point in the history
  • Loading branch information
khazelton authored Aug 14, 2020
1 parent 44fac81 commit 69ec97e
Showing 1 changed file with 114 additions and 123 deletions.
237 changes: 114 additions & 123 deletions fm/fed-mgr-msg.json
Original file line number Diff line number Diff line change
@@ -1,129 +1,120 @@
{
"asyncapi": "2.0.0",

"info": {
"title": "AsyncAPI Sample App",
"description": "Draft 00: Specification of the Async API for TAP-ICP Federation Manager Messaging",
"termsOfService": "http://asyncapi.org/terms/",
"contact": {
"name": "API Support",
"url": "http://www.asyncapi.org/support",
"email": "support@asyncapi.org"
},

"asyncapi": "2.0.0",
"info": {
"title": "AsyncAPI Sample App",
"description": "Draft 00: Specification of the Async API for TAP-ICP Federation Manager Messaging",
"termsOfService": "http://asyncapi.org/terms/",
"contact": {
"name": "API Support",
"url": "http://www.asyncapi.org/support",
"email": "support@asyncapi.org"
},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
}
},

"servers": {
"development": {
"url": "development.gigantic-server.com",
"description": "Development server",
"protocol": "mqtt"
},
"staging": {
"url": "staging.gigantic-server.com",
"description": "Staging server",
"protocol": "secure-mqtt"
},
"production": {
"url": "api.gigantic-server.com",
"description": "Production server",
"protocol": "secure-mqtt"
}
},

"channels": {
"FMpersonCreated": {
},
"publish": {
"operationId": "create",
"message": {
"$ref": "#/components/messages/CRUD"
}
}
},

"components": {
"schemas": {
"email": {
"type": "string",
"format": "email"
},
"sentAt": {
"type": "string",
"format": "datetime"
},
"address": {
"type": "object",
"properties": {
"street": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"city": {
"type": "string"
},
"region": {
"type": "string"
},
"country": {
"type": "string"
}
}
}
},

"messages": {
"CRUD": {
"summary": "Person new to FM added to FM.",
"description": "Multiline description of what this action does.\nHere you have another line.\n",
"tags": [{
"name": "FMperson"
},
{
"name": "created"
}
],

"bindings": {
"mqtt": {
"cleanSession": false,
"clientId": "myApp"
}
},

"headers": {
"type": "object",
"properties": {
"myAppHeader": {
"type": "string"
}
}
},

"payload": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"email": {
"$ref": "#/components/schemas/email"
},
"address": {
"$ref": "#/components/schemas/address"
},
"sentAt": {
"$ref": "#/components/schemas/sentAt"
}
}
}
}
}
}
}
"servers": {
"development": {
"url": "development.gigantic-server.com",
"description": "Development server",
"protocol": "mqtt"
},
"staging": {
"url": "staging.gigantic-server.com",
"description": "Staging server",
"protocol": "secure-mqtt"
},
"production": {
"url": "api.gigantic-server.com",
"description": "Production server",
"protocol": "secure-mqtt"
}
},
"channels": {
"FMpersonCreated": {},
"publish": {
"operationId": "create",
"message": {
"$ref": "#/components/messages/CRUD"
}
}
},
"components": {
"schemas": {
"email": {
"type": "string",
"format": "email"
},
"sentAt": {
"type": "string",
"format": "datetime"
},
"address": {
"type": "object",
"properties": {
"street": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"city": {
"type": "string"
},
"region": {
"type": "string"
},
"country": {
"type": "string"
}
}
}
},
"messages": {
"CRUD": {
"summary": "Person new to FM added to FM.",
"description": "Multiline description of what this action does.\nHere you have another line.\n",
"tags": [
{
"name": "FMperson"
},
{
"name": "created"
}
],
"bindings": {
"mqtt": {
"cleanSession": false,
"clientId": "myApp"
}
},
"headers": {
"type": "object",
"properties": {
"myAppHeader": {
"type": "string"
}
}
},
"payload": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"email": {
"$ref": "#/components/schemas/email"
},
"address": {
"$ref": "#/components/schemas/address"
},
"sentAt": {
"$ref": "#/components/schemas/sentAt"
}
}
}
}
}
}
}

0 comments on commit 69ec97e

Please sign in to comment.