Disallow html for templating formats

Using html template format will then put the html format in the allowed list for the api doc which we don’t want since the api doesn’t response for html format.
This commit is contained in:
Jeremy Benoist
2017-07-09 10:07:14 +02:00
parent b5d7eb148c
commit 2e6239bb9f

View File

@ -110,7 +110,7 @@ fos_rest:
epub: true epub: true
mobi: true mobi: true
templating_formats: templating_formats:
html: true html: false
force_redirects: force_redirects:
html: true html: true
failed_validation: HTTP_BAD_REQUEST failed_validation: HTTP_BAD_REQUEST