From c9791dba1fb77dffd9b8030a5b06aa16e195e381 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Fri, 10 Apr 2015 14:55:54 +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. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434597 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/ari/ari_model_validators.h | 1 + 1 file changed, 1 insertion(+) (limited to 'res/ari/ari_model_validators.h') diff --git a/res/ari/ari_model_validators.h b/res/ari/ari_model_validators.h index 9cb1bc32c..1fafba3b5 100644 --- a/res/ari/ari_model_validators.h +++ b/res/ari/ari_model_validators.h @@ -1434,6 +1434,7 @@ ari_validator ast_ari_validate_application_fn(void); * - application: string (required) * - timestamp: Date * - channel: Channel (required) + * - musicclass: string * ChannelLeftBridge * - type: string (required) * - application: string (required) -- cgit v1.2.3