Merge pull request #1966 from Flower7C3/patch-1

correct indentation in configuration example
This commit is contained in:
Guilhem Niot 2022-03-21 16:46:36 +01:00 committed by GitHub
commit 625aa151f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,14 +8,14 @@ A default security policy can be added in ``nelmio_api_doc.documentation.securit
nelmio_api_doc:
documentation:
components:
securitySchemes:
Bearer:
type: http
scheme: bearer
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
securitySchemes:
Bearer:
type: http
scheme: bearer
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
security:
Bearer: []
@ -40,4 +40,4 @@ You can also completely remove security from a path by providing ``@Security`` w
/**
* @Security(name=null)
*/
*/