[asterisk-commits] dlee: trunk r402368 - in /trunk: ./ rest-api-templates/api.wiki.mustache

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 1 11:31:58 CDT 2013


Author: dlee
Date: Fri Nov  1 11:31:57 2013
New Revision: 402368

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402368
Log:
ari wiki docs: add notes about allowMultiple parameters.

This patch adds a note to any parameter that has 'allowMultiple' set in
the Swagger documentation.

(closes issue ASTERISK-22704)
........

Merged revisions 402367 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/rest-api-templates/api.wiki.mustache

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Fri Nov  1 11:31:57 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-402276,402285,402289,402327,402336,402346,402348,402358
+/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-402367

Modified: trunk/rest-api-templates/api.wiki.mustache
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api-templates/api.wiki.mustache?view=diff&rev=402368&r1=402367&r2=402368
==============================================================================
--- trunk/rest-api-templates/api.wiki.mustache (original)
+++ trunk/rest-api-templates/api.wiki.mustache Fri Nov  1 11:31:57 2013
@@ -26,6 +26,9 @@
 h3. Query parameters
 {{#query_parameters}}
 * {{name}}: {{data_type}}{{#default_value}} = {{default_value}}{{/default_value}} -{{#required}} *(required)*{{/required}} {{{wiki_description}}}
+{{#allow_multiple}}
+** Allows comma separated values.
+{{/allow_multiple}}
 {{/query_parameters}}
 {{/has_query_parameters}}
 {{#has_header_parameters}}
@@ -33,6 +36,9 @@
 h3. Header parameters
 {{#header_parameters}}
 * {{name}}: {{data_type}}{{#default_value}} = {{default_value}}{{/default_value}} -{{#required}} *(required)*{{/required}} {{{wiki_description}}}
+{{#allow_multiple}}
+** Allows comma separated values.
+{{/allow_multiple}}
 {{/header_parameters}}
 {{/has_header_parameters}}
 {{#has_error_responses}}




More information about the asterisk-commits mailing list