Forum Discussion

greglovely's avatar
greglovely
Occasional Contributor
2 years ago
Solved

Swashbuckle requests swagger.json as 'text/html' content type on server, not 'application/json'

When I run my web api project from VS2022 on my desktop, I get the results that I expect (screen print 1). When I inspect the request for swagger.json, I see the headers (screen print 2).  They show...
  • greglovely's avatar
    2 years ago

    Resolved on my own.