doc: note that content-type is dynamic

This commit is contained in:
Greg Myers 2020-04-04 20:00:39 +01:00 committed by GitHub
parent 8ae6653cf7
commit 1996f5130f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -546,6 +546,8 @@ Rswag::Api.configure do |c|
end
```
Take care when overriding Content-Type if you serve both YAML and JSON files as it will no longer switch the Content-Type header correctly.
### Enable Swagger Endpoints for swagger-ui ###