@ZurgInq provided RSpec::Rails::Swagger::ResponseFormatters
to allow control over how the example responses are formatted (#33)
If you use .yaml
or .yml
as the extension for a Swagger file assigned in config.swagger_docs
the contents will be formatted as YAML rather than JSON (#37)