From f720e5e69e8096f62713b408a747145cae3a80b1 Mon Sep 17 00:00:00 2001 From: Darius Matulionis Date: Fri, 21 Aug 2020 08:56:03 +0300 Subject: [PATCH] Fix security config example (#315) * Fix security confix example. Closes #314 --- config/l5-swagger.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/config/l5-swagger.php b/config/l5-swagger.php index 44640d6..b97581c 100644 --- a/config/l5-swagger.php +++ b/config/l5-swagger.php @@ -137,15 +137,18 @@ ], 'security' => [ /* - * Examples of Security + * Examples of Securities */ - /* - 'oauth2_security_example' => [ - 'read', - 'write' + [ + /* + 'oauth2_security_example' => [ + 'read', + 'write' + ], + + 'passport' => [] + */ ], - 'passport' => [] - */ ], ],