res/ari: Fix model validation for ChannelHold event

When the ChannelHold event was added, the 'musicclass' parameter was
erroneously removed. This caused the ChannelHold events to be rejected as
they failed model validation. This patch updates the Swagger schema such that
it now properly reflects the event that is being created.

Hooray for tests that catch things like this.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Jordan
2015-04-10 14:55:54 +00:00
parent c39faa4729
commit c9791dba1f
3 changed files with 15 additions and 0 deletions

View File

@@ -608,6 +608,11 @@
"required": true,
"type": "Channel",
"description": "The channel that initiated the hold event."
},
"musicclass": {
"required": false,
"type": "string",
"description": "The music on hold class that the initiator requested."
}
}
},