Review Board 1.7.16


ARI - implement allowMultiple for parameters

Review Request #2698 - Created July 25, 2013 and submitted

David Lee
/trunk
Reviewers
asterisk-dev
jrose
Asterisk
Swagger allows parameters to be specified as 'allowMultiple', meaning
that the parameter may be specified as a comma separated list of
values.

I had written some of the API docs using that, but promptly forgot
about implementing it. This patch finally fills in that gap.

The codegen template was updated to represent 'allowMultiple' fields
as array/size fields in the _args structs. It also parses the comma
separated list using ast_app_separate_args(), so quoted strings in the
argument will be handled properly.
Lots of variations hitting the events websocket and adding channels to
bridges using comma separated lists.
Total:
1
Open:
0
Resolved:
1
Dropped:
0
Status:
From:
Description From Last Updated Status
Review request changed
Updated (Aug. 2, 2013, 10:20 a.m.)
  • changed from pending to submitted
Committed in revision 396132

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.