Merge remote-tracking branch 'upstream/master' into JSONEditorMaster
Conflicts: dist/swagger-ui.js dist/swagger-ui.min.js
This commit is contained in:
@@ -358,7 +358,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
|
||||
opts.useJQuery = true;
|
||||
map.parameterContentType = 'multipart/form-data';
|
||||
|
||||
this.map = map;
|
||||
return this.model.execute(map, opts, this.showCompleteStatus, this.showErrorStatus, this);
|
||||
} else {
|
||||
this.map = map;
|
||||
@@ -676,7 +676,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
//adds curl output
|
||||
var curlCommand = this.model.asCurl(this.map);
|
||||
curlCommand = curlCommand.replace('!', '!');
|
||||
$( '.curl', $(this.el)).html('<pre>' + curlCommand + '</pre>');
|
||||
$( 'div.curl', $(this.el)).html('<pre>' + curlCommand + '</pre>');
|
||||
|
||||
// only highlight the response if response is less than threshold, default state is highlight response
|
||||
var opts = this.options.swaggerOptions;
|
||||
|
||||
Reference in New Issue
Block a user