There are some known issues regarding that. Try the latest master version of swagger-ui.
From: <[email protected]> on behalf of Natalia Queiroz <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Friday, 15 July 2016 at 15:48 To: "[email protected]" <[email protected]> Subject: curl -X *method* --header 'Accept: application/json' not working Hello group, my json application is not showing the correct Accept response on the curl method. Even using the header("Content-Type: application/json;charset=utf-8") or , header("Content-Type: application/json"), it keeps showing curl -X GET --header 'Accept: text/html' 'http://servicos.jbrj.gov.br/jabot/collections' Does anybody know if is it a bug? or how to fix it? Thanks, -- Natália Oliveira -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
