T_1Occasional Visitor4 years agoSwagger UI displaying arrays as text/plain even though the Content-type is application/jsonSwagger UI displaying arrays as text/plain even though the Content-type is application/jsonWhat can cause this problem? This only happens if the response is array.
1 ReplyReplies sorted by Most LikedponelatStaff4 years agoT_1 Do you have a screenshot of the problem, and the an example of the YAML?
Recent DiscussionsHow do I validate the key of a object type schema | v3.0.4Use anyOf/oneOf with codegen?Hiding one of multiple routes for an endpoint - Swagger c# .net 4.8
Related ContentSwashbuckle requests swagger.json as 'text/html' content type on server, not 'application/json'Swagger compliance assertion with content type different than application/json always failsDELETE Method Without Content-Type Header?