Merge branch 'issue-1767'
This commit is contained in:
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
@@ -25760,7 +25760,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
|
||||
|
||||
// adds curl output
|
||||
var curlCommand = this.model.asCurl(this.map);
|
||||
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
@@ -643,7 +643,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
||||
|
||||
|
||||
// adds curl output
|
||||
var curlCommand = this.model.asCurl(this.map);
|
||||
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