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.
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 failsSwagger Compliance Assertion: Invalid content type [image/bmp]DELETE Method Without Content-Type Header?Multiline string in readable format for mediatype application/json
Recent DiscussionsResolver error in component schemaImplement swagger 3 in Springboot 2.7 applicationHow to set Schemes default value to HTTPSLinks504 Gateway Time Out - Swagger Validator