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 Discussionsopenapi codegen doesn't match swagger for xml arraySwagger Ui showing different behaviorMaximum no of end-points in an API
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?