Skip to content

Commit

Permalink
Merge pull request #333 from richardfullmer/https
Browse files Browse the repository at this point in the history
Fix and properly document the https option
  • Loading branch information
willdurand committed Feb 7, 2014
2 parents 1457194 + dc8494b commit 5bd455f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Annotation/ApiDoc.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ public function __construct(array $data)
if (isset($data['deprecated'])) {
$this->deprecated = $data['deprecated'];
}

if (isset($data['https'])) {
$this->https = $data['https'];
}
}

/**
Expand Down
2 changes: 2 additions & 0 deletions Resources/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ The following properties are available:

* `description`: a description of the API method;

* `https`: whether the method described requires the https protocol (default: `false`);

* `deprecated`: allow to set method as deprecated (default: `false`);

* `filters`: an array of filters;
Expand Down

0 comments on commit 5bd455f

Please sign in to comment.