Skip to content

Commit

Permalink
Modify kapi_globals module to use kapi_definition module (2600hz#6385)
Browse files Browse the repository at this point in the history
  • Loading branch information
harenson authored and jamesaimonetti committed Mar 27, 2020
1 parent d3d54f4 commit c5d5831
Show file tree
Hide file tree
Showing 6 changed files with 619 additions and 271 deletions.
27 changes: 27 additions & 0 deletions applications/crossbar/priv/api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -17460,6 +17460,33 @@
],
"type": "object"
},
"kapi.globals.reply": {
"description": "AMQP API for globals.reply",
"properties": {
"Event-Category": {
"enum": [
"globals"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reply"
],
"type": "string"
},
"Name": {
"type": "string"
},
"Reply": {
"type": "string"
}
},
"required": [
"Reply"
],
"type": "object"
},
"kapi.globals.reply_msg": {
"description": "AMQP API for globals.reply_msg",
"properties": {
Expand Down
29 changes: 29 additions & 0 deletions applications/crossbar/priv/couchdb/schemas/kapi.globals.reply.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"_id": "kapi.globals.reply",
"description": "AMQP API for globals.reply",
"properties": {
"Event-Category": {
"enum": [
"globals"
],
"type": "string"
},
"Event-Name": {
"enum": [
"reply"
],
"type": "string"
},
"Name": {
"type": "string"
},
"Reply": {
"type": "string"
}
},
"required": [
"Reply"
],
"type": "object"
}
Loading

0 comments on commit c5d5831

Please sign in to comment.