From 562e80ccd0d57de00d7f1357e1dc21b784dbe165 Mon Sep 17 00:00:00 2001 From: tonivdv Date: Wed, 20 Feb 2013 14:04:03 +0100 Subject: [PATCH] Update README.md Update with the multiple description for status code. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5d65dba..1c70635 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,12 @@ class YourController * @ApiDoc( * statusCodes={ * 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() @@ -223,4 +228,4 @@ input is used, so you can configure their priorities via container tags. Here's ## Credits ## 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. \ No newline at end of file +Some icons from the [Glyphicons](http://glyphicons.com/) library are used to render the documentation.