From: David M. Lee Date: Fri, 1 Nov 2013 16:31:16 +0000 (+0000) Subject: ari wiki docs: add notes about allowMultiple parameters. X-Git-Tag: 12.0.0-beta2~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11fa5ca2c07d372c4f88439008a19116be004b56;p=thirdparty%2Fasterisk.git 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@402367 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/rest-api-templates/api.wiki.mustache b/rest-api-templates/api.wiki.mustache index ba3a3d18cf..322bb58df0 100644 --- a/rest-api-templates/api.wiki.mustache +++ b/rest-api-templates/api.wiki.mustache @@ -26,6 +26,9 @@ h3. Path parameters 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. Query parameters 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}}