From cfe6cbc1346d950d7661031bb81b2d88751798c2 Mon Sep 17 00:00:00 2001 From: Bez Hermoso Date: Wed, 25 Jun 2014 11:16:47 -0700 Subject: [PATCH] Create swagger-support.md --- Resources/doc/swagger-support.md | 99 ++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 Resources/doc/swagger-support.md diff --git a/Resources/doc/swagger-support.md b/Resources/doc/swagger-support.md new file mode 100644 index 0000000..027c3f9 --- /dev/null +++ b/Resources/doc/swagger-support.md @@ -0,0 +1,99 @@ +NelmioApiDocBundle +=================== + +##Swagger support## + +It is now possible to make your application produce Swagger-compliant JSON output based on `@ApiDoc` annotations, which can be used for consumption by [swagger-ui](https://github.com/wordnik/swagger-ui). + +###Annotations### + +A couple of properties has been added to `@ApiDoc`: + +To define a __resource description__: + +```php +