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: routing_loader:
default_format: json default_format: json
nelmio_api_doc: ~ nelmio_api_doc:
sandbox:
enabled: false
nelmio_cors: nelmio_cors:
defaults: defaults:

View file

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