From 04818b00e5c509f8d2bc5790fbad1d06974af94d Mon Sep 17 00:00:00 2001 From: Bez Hermoso Date: Wed, 25 Jun 2014 14:20:30 -0700 Subject: [PATCH] Added configuration reference. --- Resources/doc/swagger-support.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Resources/doc/swagger-support.md b/Resources/doc/swagger-support.md index 027c3f9..493cd64 100644 --- a/Resources/doc/swagger-support.md +++ b/Resources/doc/swagger-support.md @@ -97,3 +97,20 @@ Dump a specific resource API declaration only: php app/console api:swagger:dump --resource=users ``` The above command will dump the `/users` API declaration in an `users.json` file. + +##Configuration reference + +```yml +nelmio_api_doc: + swagger: + api_base_path: /api + swagger_version: 1.2 + api_version: 0.1 + info: + title: Symfony2 + description: My awesome Symfony2 app! + TermsOfServiceUrl: ~ + contact: ~ + license: ~ + licenseUrl: ~ +```