allow API documentation for anonymous

This commit is contained in:
Nicolas Lœuillet 2015-09-29 14:52:46 +02:00 committed by Jeremy Benoist
parent fcb1fba5c2
commit cd1298d6df
2 changed files with 4 additions and 2 deletions

View file

@ -110,7 +110,9 @@ fos_rest:
routing_loader:
default_format: json
nelmio_api_doc: ~
nelmio_api_doc:
sandbox:
enabled: false
nelmio_cors:
defaults:

View file

@ -22,7 +22,7 @@ security:
pattern: /api/.*
fos_oauth: true
stateless: true
anonymous: false
anonymous: true
login_firewall:
pattern: ^/login$