Fix an properly document https option

This commit is contained in:
Richard Fullmer 2014-02-06 09:27:30 -08:00
parent f45cc2565e
commit dc8494bbdf
2 changed files with 6 additions and 0 deletions

View File

@ -222,6 +222,10 @@ class ApiDoc
if (isset($data['deprecated'])) { if (isset($data['deprecated'])) {
$this->deprecated = $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; * `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`); * `deprecated`: allow to set method as deprecated (default: `false`);
* `filters`: an array of filters; * `filters`: an array of filters;