T_1Occasional Visitor3 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 LikedponelatStaff3 years agoT_1 Do you have a screenshot of the problem, and the an example of the YAML?
Recent DiscussionsMeenu Hinduja & Dheeraj Sudan : How can I get started with Swagger’s open source toolsJson and Xml example with inheritanceOpenApi Spec for AWS ApiGateway doesn't allow 1 attribute to read its value dynamically
Related ContentSwagger compliance assertion with content type different than application/json always failsSwashbuckle requests swagger.json as 'text/html' content type on server, not 'application/json'DELETE Method Without Content-Type Header?