44 * @link http://swagger.io
55 * @license Apache-2.0
66 */
7- (function(){/* jshint ignore:start */
7+ (function(){/* jshint ignore:start */
88 {(function() {
99 var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
1010templates['apikey_auth'] = template({"1":function(container,depth0,helpers,partials,data) {
@@ -29,7 +29,7 @@ templates['apikey_auth'] = template({"1":function(container,depth0,helpers,parti
2929 + " </div>\n </div>\n</div>\n";
3030},"useData":true});
3131templates['auth_button'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
32- return "<a class='authorize__btn' href=\"#\">Authorize</a>\n";
32+ return "<a class='authorize__btn' href=\"#\" data-sw-translate >Authorize</a>\n";
3333},"useData":true});
3434templates['auth_button_operation'] = template({"1":function(container,depth0,helpers,partials,data) {
3535 return " authorize__btn_operation_login\n";
@@ -685,7 +685,7 @@ templates['resource'] = template({"1":function(container,depth0,helpers,partials
685685 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.url : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "")
686686 + "' data-sw-translate>Raw</a>\n </li>\n";
687687},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
688- var stack1, helper, options, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, buffer =
688+ var stack1, helper, options, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, buffer =
689689 "<div class='heading'>\n <h2>\n <a href='#!/"
690690 + ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.id : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "")
691691 + "' class=\"toggleEndpointList\" data-id=\""
@@ -797,7 +797,7 @@ templates['status_code'] = template({"1":function(container,depth0,helpers,parti
797797 + ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.headers : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
798798 + " </tbody>\n </table>\n</td>";
799799},"useData":true});
800- })();}
800+ })();}
801801 /* jshint ignore:end */
802802'use strict';
803803
@@ -3091,7 +3091,7 @@ Handlebars.registerHelper('sanitize', function (text) {
30913091
30923092Handlebars.registerHelper('renderTextParam', function(param) {
30933093 var result, type = 'text', idAtt = '';
3094- var paramType = (param.schema) ? param.type || param.schema.type || '' : param.type || '';
3094+ var paramType = (param.schema) ? param.type || param.schema.type || '' : param.type || '';
30953095 var isArray = paramType.toLowerCase() === 'array' || param.allowMultiple;
30963096 var defaultValue = isArray && Array.isArray(param.default) ? param.default.join('\n') : param.default;
30973097 var name = Handlebars.Utils.escapeExpression(param.name);
@@ -24861,7 +24861,7 @@ SwaggerUi.partials.signature = (function () {
2486124861 return result;
2486224862 };
2486324863 */
24864-
24864+
2486524865 var getPrefix = function (name, xml) {
2486624866 var result = name || '';
2486724867
@@ -24999,7 +24999,7 @@ SwaggerUi.partials.signature = (function () {
2499924999
2500025000 if (namespace) {
2500125001 attrs.push(namespace);
25002- }
25002+ }
2500325003
2500425004 if (!properties && !additionalProperties) { return getErrorMessage(); }
2500525005
@@ -25044,10 +25044,10 @@ SwaggerUi.partials.signature = (function () {
2504425044 var output, index;
2504525045 config = config || {};
2504625046 config.modelsToIgnore = config.modelsToIgnore || [];
25047-
25047+
2504825048 var descriptor = _.isString($ref) ? getDescriptorByRef($ref, name, models, config)
2504925049 : getDescriptor(name, definition, models, config);
25050-
25050+
2505125051 if (!descriptor) {
2505225052 return getErrorMessage();
2505325053 }
@@ -25098,7 +25098,7 @@ SwaggerUi.partials.signature = (function () {
2509825098 else {
2509925099 name = name || model.name;
2510025100 }
25101-
25101+
2510225102 if (config.modelsToIgnore.indexOf($ref) > -1) {
2510325103 type = 'loop';
2510425104 config.loopTo = modelType;
@@ -25109,7 +25109,7 @@ SwaggerUi.partials.signature = (function () {
2510925109 if (!model.definition) {
2511025110 return null;
2511125111 }
25112- return new Descriptor(name, type, model.definition, models, config);
25112+ return new Descriptor(name, type, model.definition, models, config);
2511325113 }
2511425114
2511525115 function getDescriptor (name, definition, models, config){
0 commit comments