fixes #1767
This commit is contained in:
@@ -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