Open
Description
When I have this:
add_swagger_documentation api_version: 'v1', mount_path: '/api_docs'
$ curl url/api_docs
I get a ruby hash string.
$ curl url/api_docs.json
I get a json document
add_swagger_documentation api_version: 'v1', mount_path: '/api_docs', format: :json
$ curl url/api_docs
I get a json document
$ curl url/api_docs.json
I get 404
The documentation claims that the first should be identical to the second (that is the meaning of a default).
And of course, the documentation claims the response format will be json by default, but I got a ruby hash in a string.