[asterisk-commits] dlee: branch 12 r402367 - /branches/12/rest-api-templates/api.wiki.mustache
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 1 11:31:19 CDT 2013
Author: dlee
Date: Fri Nov 1 11:31:16 2013
New Revision: 402367
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402367
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)
Modified:
branches/12/rest-api-templates/api.wiki.mustache
Modified: branches/12/rest-api-templates/api.wiki.mustache
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api-templates/api.wiki.mustache?view=diff&rev=402367&r1=402366&r2=402367
==============================================================================
--- branches/12/rest-api-templates/api.wiki.mustache (original)
+++ branches/12/rest-api-templates/api.wiki.mustache Fri Nov 1 11:31:16 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