0
誰知道這個問題?看來Swagger不能支持IE。我在Tomcat中部署了Swagger示例如下。該示例在Google Chrome & Firefox中運行良好。 https://github.com/wordnik/swagger-core/tree/master/samples/no-server跨多個瀏覽器使用Swagger
但是該示例無法在IE中正確顯示。 URL總是被定向到tomcat的索引頁面。我曾嘗試將「localhost」更改爲IP或主機名,但仍無法在IE中使用。 大招不能支持IE嗎?這是一個錯誤嗎?
Input the URL and run in IE
http://localhost:8080/swagger/index.html
Redirect to the URL (always insert # inside)
http://localhost:8080/#swagger/index.html
感謝您的幫助。
我想這可能是在這個評論寫的時候。我現在可以在IE 8中看到petstore演示程序的正常工作。 – Aspirant