mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-10 03:29:25 +03:00
Update README.md
Update with the multiple description for status code.
This commit is contained in:
parent
e0fb5c3afe
commit
562e80ccd0
@ -116,7 +116,12 @@ class YourController
|
|||||||
* @ApiDoc(
|
* @ApiDoc(
|
||||||
* statusCodes={
|
* statusCodes={
|
||||||
* 200="Returned when successful",
|
* 200="Returned when successful",
|
||||||
* 403="Returned when the user is not authorized to say hello"},
|
* 403="Returned when the user is not authorized to say hello",
|
||||||
|
* 404={
|
||||||
|
* "Returned when the user is not found",
|
||||||
|
* "Returned when somehting else is not found"
|
||||||
|
* }
|
||||||
|
* }
|
||||||
* )
|
* )
|
||||||
*/
|
*/
|
||||||
public function myFunction()
|
public function myFunction()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user