fixes #1767
This commit is contained in:
4
dist/swagger-ui.js
vendored
4
dist/swagger-ui.js
vendored
@@ -25718,8 +25718,8 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
$('.response_throbber', $(this.el)).hide();
|
||||
|
||||
|
||||
//adds curl output
|
||||
var curlCommand = this.model.asCurl(this.map);
|
||||
// adds curl output
|
||||
var curlCommand = this.model.asCurl(this.map, {responseContentType: contentType});
|
||||
curlCommand = curlCommand.replace('!', '!');
|
||||
$( 'div.curl', $(this.el)).html('<pre>' + curlCommand + '</pre>');
|
||||
|
||||
|
||||
2
dist/swagger-ui.min.js
vendored
2
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -642,8 +642,8 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
$('.response_throbber', $(this.el)).hide();
|
||||
|
||||
|
||||
//adds curl output
|
||||
var curlCommand = this.model.asCurl(this.map);
|
||||
// adds curl output
|
||||
var curlCommand = this.model.asCurl(this.map, {responseContentType: contentType});
|
||||
curlCommand = curlCommand.replace('!', '!');
|
||||
$( 'div.curl', $(this.el)).html('<pre>' + curlCommand + '</pre>');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user