Expected Behavior
Content-type for the swagger.json endpoint is application/json (possibly with charset).
Actual Behavior
Content-type for the swagger.json endpoint is text/plain; charset=utf-8.
Steps to Reproduce the Problem
- Build a small application that uses Nancy.Swagger
- Open DevTools in Chrome (or similar) and enable network recording
- Visit the swagger.json endpoint
Specifications