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 DiscussionsHow to troubleshoot object recognition issues in TestComplete?How do I set up API testing workflows in ReadyAPI or SoapUI?How can I get started with Swagger’s open source tools
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'Invalid Content-Type for attachments