|
2 | 2 | * swagger-ui - Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API |
3 | 3 | * @version v2.1.0 |
4 | 4 | * @link http://swagger.io |
5 | | - * @license Apache 2.0 |
| 5 | + * @license Apache-2.0 |
6 | 6 | */ |
7 | 7 | (function(){this["Handlebars"] = this["Handlebars"] || {}; |
8 | 8 | this["Handlebars"]["templates"] = this["Handlebars"]["templates"] || {}; |
@@ -533,7 +533,7 @@ this["Handlebars"]["templates"]["param_list"] = Handlebars.template({"1":functio |
533 | 533 | + escapeExpression(((helper = (helper = helpers.valueId || (depth0 != null ? depth0.valueId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"valueId","hash":{},"data":data}) : helper))) |
534 | 534 | + "'>" |
535 | 535 | + escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper))) |
536 | | - + "</labe></td>\n<td>\n <select "; |
| 536 | + + "</label></td>\n<td>\n <select "; |
537 | 537 | stack1 = ((helpers.isArray || (depth0 && depth0.isArray) || helperMissing).call(depth0, depth0, {"name":"isArray","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data})); |
538 | 538 | if (stack1 != null) { buffer += stack1; } |
539 | 539 | buffer += " class=\"parameter "; |
@@ -30840,7 +30840,7 @@ window.SwaggerUi.Views = {}; |
30840 | 30840 | }); |
30841 | 30841 | } else if (typeof exports === 'object') { |
30842 | 30842 | // Node. Does not work with strict CommonJS, but |
30843 | | - // only CommonJS-like enviroments that support module.exports, |
| 30843 | + // only CommonJS-like environments that support module.exports, |
30844 | 30844 | // like Node. |
30845 | 30845 | module.exports = factory(require('b')); |
30846 | 30846 | } else { |
@@ -31078,7 +31078,7 @@ SwaggerUi.Views.MainView = Backbone.View.extend({ |
31078 | 31078 | this.model.validatorUrl = null; |
31079 | 31079 | } else { |
31080 | 31080 | // Default validator |
31081 | | - if(window.location.protocol === 'https') { |
| 31081 | + if(window.location.protocol === 'https:') { |
31082 | 31082 | this.model.validatorUrl = 'https://online.swagger.io/validator'; |
31083 | 31083 | } |
31084 | 31084 | else { |
|
0 commit comments