Skip to content

Commit

Permalink
Merge pull request #149 from aazon/master
Browse files Browse the repository at this point in the history
Adding allowMultiple field to Parameter
  • Loading branch information
zircote committed Jul 22, 2014
2 parents fadde75 + e1c5e91 commit c652fe3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions library/Swagger/Annotations/Parameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ class Parameter extends DataType
* @var bool
*/
public $required;

/**
* Another way to allow multiple values for a "query" parameter.
* If used, the query parameter may accept comma-separated values.
* The field may be used only if paramType is "query", "header" or "path".
* @var bool
*/
public $allowMultiple;

public function __construct(array $values = array())
{
Expand Down

0 comments on commit c652fe3

Please sign in to comment.