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

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 ###