We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
composer show | grep l5-swagger
php -v
The example security config is as follows
'security' => [ /* * Examples of Security */ /* 'oauth2_security_example' => [ 'read', 'write' ], 'passport' => [] */ ],
But it should be
'security' => [[ /* * Examples of Security */ /* 'oauth2_security_example' => [ 'read', 'write' ], 'passport' => [] */ ]],
The 'security' config option needs to be an array not an object. When trying to set a global security I did the following
'security'
'security' => [ 'api_key' => [] ]
but this did not work. the "Available authorizations" dialog was empty. I had to do this
'security' => [ ['api_key' => []] ]
which makes sense, because in the docblock, you have to do
* security={ * {"api_key"={}} * }
The text was updated successfully, but these errors were encountered:
Fix security confix example. Closes #314
a4e51e3
f720e5e
No branches or pull requests
composer show | grep l5-swagger
)php -v
): 7.2.24Description:
The example security config is as follows
But it should be
The
'security'
config option needs to be an array not an object. When trying to set a global security I did the followingbut this did not work. the "Available authorizations" dialog was empty. I had to do this
which makes sense, because in the docblock, you have to do
The text was updated successfully, but these errors were encountered: