correct indentation in configuration example

This commit is contained in:
Bartłomiej Jakub Kwiatek 2022-03-04 20:09:11 +01:00 committed by GitHub
parent 8fb8d90f24
commit a362f869ad
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: nelmio_api_doc:
documentation: documentation:
components: components:
securitySchemes: securitySchemes:
Bearer: Bearer:
type: http type: http
scheme: bearer scheme: bearer
ApiKeyAuth: ApiKeyAuth:
type: apiKey type: apiKey
in: header in: header
name: X-API-Key name: X-API-Key
security: security:
Bearer: [] Bearer: []
@ -40,4 +40,4 @@ You can also completely remove security from a path by providing ``@Security`` w
/** /**
* @Security(name=null) * @Security(name=null)
*/ */