Jsonp And Swagger Ui
24 September 2013
First, I want to tell everyone how much I like Swagger and Swagger-UI. That said, Swagger-UI does not support making JSONP calls despite the fact that many APIs support them.
The main culprit seems to be Internet Explorer (see Using CORS ), but suffice to say, people need this and it won’t get supported in Swagger #313. So, I’m posting this in case anyone else needs to make this change, or better still, can make this change in coffee-script to the source files.
The code needs to be inserted before the return statement of OperationView.prototype.submitOperation
.