Merge pull request #333 from richardfullmer/https

Fix and properly document the https option
This commit is contained in:
William Durand 2014-02-07 01:05:59 +01:00
commit 5bd455f955
2 changed files with 6 additions and 0 deletions

View File

@ -222,6 +222,10 @@ class ApiDoc
if (isset($data['deprecated'])) {
$this->deprecated = $data['deprecated'];
}
if (isset($data['https'])) {
$this->https = $data['https'];
}
}
/**

View File

@ -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;