Merge pull request #1112 from 3scale/op-execute
Pass swagger options to swagger-js Operation#execute method
This commit is contained in:
@@ -313,7 +313,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
if (isFileUpload) {
|
||||
return this.handleFileUpload(map, form);
|
||||
} else {
|
||||
return this.model['do'](map, opts, this.showCompleteStatus, this.showErrorStatus, this);
|
||||
return this.model.execute(map, this.options.swaggerOptions || {}, this.showCompleteStatus, this.showErrorStatus, this);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user