From 6990a11e3abc4d32316e25f7ce74043285727e26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20CROMBEZ?= <jeremy.crombez@easytek.fr>
Date: Fri, 6 Feb 2015 15:54:35 +0100
Subject: [PATCH] [doc] missing "sandbox:" in the authentication yaml examples

---
 Resources/doc/index.md | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/Resources/doc/index.md b/Resources/doc/index.md
index e038589..266837e 100644
--- a/Resources/doc/index.md
+++ b/Resources/doc/index.md
@@ -397,21 +397,24 @@ You can choose between different authentication methods:
 ```yaml
 # app/config/config.yml
 nelmio_api_doc:
-    authentication:
-        delivery: header
-        name:     X-Custom
+    sandbox:
+        authentication:
+            delivery: header
+            name:     X-Custom
 
 # app/config/config.yml
 nelmio_api_doc:
-    authentication:
-        delivery: query
-        name:     param
+    sandbox:
+        authentication:
+            delivery: query
+            name:     param
 
 # app/config/config.yml
 nelmio_api_doc:
-    authentication:
-        delivery: http
-        type:     basic # or bearer
+    sandbox:
+        authentication:
+            delivery: http
+            type:     basic # or bearer
 ```
 When choosing an `http` delivery, `name` defaults to `Authorization`,
 and the header value will automatically be prefixed by the corresponding type (ie. `Basic` or `Bearer`).