diff --git a/dist/css/print.css b/dist/css/print.css index a0a320de..f0d90689 100644 --- a/dist/css/print.css +++ b/dist/css/print.css @@ -1181,6 +1181,10 @@ .swagger-section .oauth_submit { text-align: center; } +.swagger-section .authorize__btn:hover { + text-decoration: underline; + cursor: pointer; +} .swagger-section .auth_container .basic_auth__title { color: #547f00; font-size: 1.2em; diff --git a/dist/css/screen.css b/dist/css/screen.css index b568a8bb..3235151e 100644 --- a/dist/css/screen.css +++ b/dist/css/screen.css @@ -1181,6 +1181,10 @@ .swagger-section .oauth_submit { text-align: center; } +.swagger-section .authorize__btn:hover { + text-decoration: underline; + cursor: pointer; +} .swagger-section .auth_container .basic_auth__title { color: #547f00; font-size: 1.2em; diff --git a/dist/swagger-ui.js b/dist/swagger-ui.js index 2baeb47e..02336054 100644 --- a/dist/swagger-ui.js +++ b/dist/swagger-ui.js @@ -8,13 +8,19 @@ this["Handlebars"]["templates"] = this["Handlebars"]["templates"] || {}; this["Handlebars"]["templates"]["apikey_button_view"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; - return "\n

').text('no content');
pre = $('').append(code);
- // JSON
+ // JSON
} else if (contentType === 'application/json' || /\+json$/.test(contentType)) {
var json = null;
try {
@@ -26015,35 +26040,35 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
code = $('').text(json);
pre = $('').append(code);
- // XML
+ // XML
} else if (contentType === 'application/xml' || /\+xml$/.test(contentType)) {
code = $('').text(this.formatXml(content));
pre = $('').append(code);
- // HTML
+ // HTML
} else if (contentType === 'text/html') {
code = $('').html(_.escape(content));
pre = $('').append(code);
- // Plain Text
+ // Plain Text
} else if (/text\/plain/.test(contentType)) {
code = $('').text(content);
pre = $('').append(code);
- // Image
+ // Image
} else if (/^image\//.test(contentType)) {
pre = $('