Pass swagger options to swagger-js Operation#execute method

This commit is contained in:
aurelian
2015-04-01 23:54:14 +02:00
parent 1ea77868aa
commit 4764d33fe5

View File

@@ -313,7 +313,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
if (isFileUpload) { if (isFileUpload) {
return this.handleFileUpload(map, form); return this.handleFileUpload(map, form);
} else { } else {
return this.model['do'](map, opts, this.showCompleteStatus, this.showErrorStatus, this); return this.model.execute(map, this.options.swaggerOptions, this.showCompleteStatus, this.showErrorStatus);
} }
} }
}, },