mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Merge pull request #333 from richardfullmer/https
Fix and properly document the https option
This commit is contained in:
commit
5bd455f955
@ -222,6 +222,10 @@ class ApiDoc
|
||||
if (isset($data['deprecated'])) {
|
||||
$this->deprecated = $data['deprecated'];
|
||||
}
|
||||
|
||||
if (isset($data['https'])) {
|
||||
$this->https = $data['https'];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user