]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/ari: Fix model validation for ChannelHold event
authorMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 14:55:54 +0000 (14:55 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 14:55:54 +0000 (14:55 +0000)
commitc9791dba1fb77dffd9b8030a5b06aa16e195e381
tree4c8e8a1b0e3cb046affac6b0ef74d8173acb0b8d
parentc39faa4729a0c4490352fa5707e064de17068aff
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.c
res/ari/ari_model_validators.h
rest-api/api-docs/events.json