From 894153b8b1557903c1d512994aecedb326dc0951 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Fri, 10 Apr 2015 14:56:05 +0000 Subject: 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. ........ Merged revisions 434597 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434598 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- rest-api/api-docs/events.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rest-api') diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json index f5e61f9ad..35c9377e5 100644 --- a/rest-api/api-docs/events.json +++ b/rest-api/api-docs/events.json @@ -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." } } }, -- cgit v1.2.3