[asterisk-commits] kmoore: branch kmoore/stasis-bridging-channel_events r386935 - in /team/kmoor...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 30 09:02:01 CDT 2013


Author: kmoore
Date: Tue Apr 30 09:01:57 2013
New Revision: 386935

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=386935
Log:
Clean up some more whitespace

Modified:
    team/kmoore/stasis-bridging-channel_events/res/stasis_http/resource_events.h
    team/kmoore/stasis-bridging-channel_events/rest-api-templates/stasis_http_resource.h.mustache
    team/kmoore/stasis-bridging-channel_events/rest-api-templates/swagger_model.py

Modified: team/kmoore/stasis-bridging-channel_events/res/stasis_http/resource_events.h
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-bridging-channel_events/res/stasis_http/resource_events.h?view=diff&rev=386935&r1=386934&r2=386935
==============================================================================
--- team/kmoore/stasis-bridging-channel_events/res/stasis_http/resource_events.h (original)
+++ team/kmoore/stasis-bridging-channel_events/res/stasis_http/resource_events.h Tue Apr 30 09:01:57 2013
@@ -318,8 +318,8 @@
  * - CallerPresentation: integer (required)
  * ChannelHangupRequest (channel_hangup_request)
  * - channel - The channel on which the hangup was requested.
- * - soft: integer 
- * - cause: integer 
+ * - soft: integer
+ * - cause: integer
  * BridgeDestroyed (bridge_destroyed)
  * - bridge - of the bridge variety
  * ApplicationReplaced (application_replaced)

Modified: team/kmoore/stasis-bridging-channel_events/rest-api-templates/stasis_http_resource.h.mustache
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-bridging-channel_events/rest-api-templates/stasis_http_resource.h.mustache?view=diff&rev=386935&r1=386934&r2=386935
==============================================================================
--- team/kmoore/stasis-bridging-channel_events/rest-api-templates/stasis_http_resource.h.mustache (original)
+++ team/kmoore/stasis-bridging-channel_events/rest-api-templates/stasis_http_resource.h.mustache Tue Apr 30 09:01:57 2013
@@ -110,7 +110,7 @@
  * - bridge - {{#bridge_desc}}{{bridge_desc}}{{/bridge_desc}}{{^bridge_desc}}of the bridge variety{{/bridge_desc}}
 {{/bridge}}
 {{#properties}}
- * - {{name}}: {{type}} {{#required}}(required){{/required}}
+ * - {{name}}: {{type}}{{#required}} (required){{/required}}
 {{/properties}}
 {{/is_events}}
 {{^is_events}}

Modified: team/kmoore/stasis-bridging-channel_events/rest-api-templates/swagger_model.py
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-bridging-channel_events/rest-api-templates/swagger_model.py?view=diff&rev=386935&r1=386934&r2=386935
==============================================================================
--- team/kmoore/stasis-bridging-channel_events/rest-api-templates/swagger_model.py (original)
+++ team/kmoore/stasis-bridging-channel_events/rest-api-templates/swagger_model.py Tue Apr 30 09:01:57 2013
@@ -300,6 +300,7 @@
 
     def load(self, id, model_json, processor, context):
         context = add_context(context, model_json, 'id')
+        # This arrangement is required by the Swagger API spec
         self.id = model_json.get('id')
         if id != self.id:
             raise SwaggerError("Model id doesn't match name", c)




More information about the asterisk-commits mailing list