This commit is contained in:
Tony Tam
2015-11-27 17:28:46 -08:00
parent d59e4141a1
commit 8276fbf073
3 changed files with 5 additions and 5 deletions

2
dist/swagger-ui.js vendored
View File

@@ -25719,7 +25719,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
// adds curl output // adds curl output
var curlCommand = this.model.asCurl(this.map); var curlCommand = this.model.asCurl(this.map, {responseContentType: contentType});
curlCommand = curlCommand.replace('!', '!'); curlCommand = curlCommand.replace('!', '!');
$( 'div.curl', $(this.el)).html('<pre>' + curlCommand + '</pre>'); $( 'div.curl', $(this.el)).html('<pre>' + curlCommand + '</pre>');

File diff suppressed because one or more lines are too long

View File

@@ -643,7 +643,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
// adds curl output // adds curl output
var curlCommand = this.model.asCurl(this.map); var curlCommand = this.model.asCurl(this.map, {responseContentType: contentType});
curlCommand = curlCommand.replace('!', '&#33;'); curlCommand = curlCommand.replace('!', '&#33;');
$( 'div.curl', $(this.el)).html('<pre>' + curlCommand + '</pre>'); $( 'div.curl', $(this.el)).html('<pre>' + curlCommand + '</pre>');