nelmio/NelmioApiDocBundle — pull request #66 by tonivdv (2012-08-23 13:18:21+00:00)
Title: Fixed rendering issue when used with FOSRestBundle

When using FOSRestBundle with following config:

fos_rest:
format_listener:
default_priorities:
- json
- xml
fallback_format: xml

NelmioApiDocBundle will return the documentation with xml content type, and thus not viewable in a browser (at least not on my chrome browser).

Forcing the response to html in the ApiDocController fixes this.