Update README.md

Update with the multiple description for status code.
This commit is contained in:
tonivdv 2013-02-20 14:04:03 +01:00
parent e0fb5c3afe
commit 562e80ccd0

View File

@ -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()
@ -223,4 +228,4 @@ input is used, so you can configure their priorities via container tags. Here's
## Credits ## ## Credits ##
The design is heavily inspired by the [swagger-ui](https://github.com/wordnik/swagger-ui) project. The design is heavily inspired by the [swagger-ui](https://github.com/wordnik/swagger-ui) project.
Some icons from the [Glyphicons](http://glyphicons.com/) library are used to render the documentation. Some icons from the [Glyphicons](http://glyphicons.com/) library are used to render the documentation.