|
|
@@ -235,6 +235,9 @@ SwaggerUi = (function(_super) { |
|
|
|
$('body').append('<div id="' + this.dom_id + '"></div>'); |
|
|
|
} |
|
|
|
this.options = options; |
|
|
|
marked.setOptions({ |
|
|
|
gfm: true |
|
|
|
}); |
|
|
|
this.options.success = (function(_this) { |
|
|
|
return function() { |
|
|
|
return _this.render(); |
|
|
@@ -393,14 +396,35 @@ this["Handlebars"]["templates"]["apikey_button_view"] = Handlebars.template({"co |
|
|
|
+ escapeExpression(((helper = (helper = helpers.keyName || (depth0 != null ? depth0.keyName : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"keyName","hash":{},"data":data}) : helper))) |
|
|
|
+ "</div>\n <input placeholder=\"api_key\" class=\"auth_input\" id=\"input_apiKey_entry\" name=\"apiKey\" type=\"text\"/>\n <div class='auth_submit'><a class='auth_submit_button' id=\"apply_api_key\" href=\"#\">apply</a></div>\n </div>\n</div>\n\n"; |
|
|
|
},"useData":true}); |
|
|
|
this["Handlebars"]["templates"]["basic_auth_button_view"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
return "<div class='auth_button' id='basic_auth_button'><img class='auth_icon' src='images/password.jpeg'></div>\n<div class='auth_container' id='basic_auth_container'>\n <div class='key_input_container'>\n <div class=\"auth_label\">Username</div>\n <input placeholder=\"username\" class=\"auth_input\" id=\"input_username\" name=\"username\" type=\"text\"/>\n <div class=\"auth_label\">Password</div>\n <input placeholder=\"password\" class=\"auth_input\" id=\"input_password\" name=\"password\" type=\"password\"/>\n <div class='auth_submit'><a class='auth_submit_button' id=\"apply_basic_auth\" href=\"#\">apply</a></div>\n </div>\n</div>\n\n"; |
|
|
|
},"useData":true}); |
|
|
|
Handlebars.registerHelper('sanitize', function(html) { |
|
|
|
html = html.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, ''); |
|
|
|
return new Handlebars.SafeString(html); |
|
|
|
}); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["basic_auth_button_view"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
return "<div class='auth_button' id='basic_auth_button'><img class='auth_icon' src='images/password.jpeg'></div>\n<div class='auth_container' id='basic_auth_container'>\n <div class='key_input_container'>\n <div class=\"auth_label\">Username</div>\n <input placeholder=\"username\" class=\"auth_input\" id=\"input_username\" name=\"username\" type=\"text\"/>\n <div class=\"auth_label\">Password</div>\n <input placeholder=\"password\" class=\"auth_input\" id=\"input_password\" name=\"password\" type=\"password\"/>\n <div class='auth_submit'><a class='auth_submit_button' id=\"apply_basic_auth\" href=\"#\">apply</a></div>\n </div>\n</div>\n\n"; |
|
|
|
},"useData":true}); |
|
|
|
this["Handlebars"]["templates"]["content_type"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.produces : depth0), {"name":"each","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"2":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, lambda=this.lambda, buffer = " <option value=\""; |
|
|
|
stack1 = lambda(depth0, depth0); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "\">"; |
|
|
|
stack1 = lambda(depth0, depth0); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</option>\n"; |
|
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
|
return " <option value=\"application/json\">application/json</option>\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = "<label for=\"contentType\"></label>\n<select name=\"contentType\">\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.produces : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(4, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</select>\n"; |
|
|
|
},"useData":true}); |
|
|
|
var ApiKeyButton, |
|
|
|
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, |
|
|
|
__hasProp = {}.hasOwnProperty; |
|
|
@@ -454,27 +478,6 @@ ApiKeyButton = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["content_type"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.produces : depth0), {"name":"each","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"2":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, lambda=this.lambda, buffer = " <option value=\""; |
|
|
|
stack1 = lambda(depth0, depth0); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "\">"; |
|
|
|
stack1 = lambda(depth0, depth0); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</option>\n"; |
|
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
|
return " <option value=\"application/json\">application/json</option>\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = "<label for=\"contentType\"></label>\n<select name=\"contentType\">\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.produces : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(4, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</select>\n"; |
|
|
|
},"useData":true}); |
|
|
|
this["Handlebars"]["templates"]["main"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression, buffer = " <div class=\"info_title\">" |
|
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.title : stack1), depth0)) |
|
|
@@ -745,69 +748,6 @@ ContentTypeView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isFile : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.program(4, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"2":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input type=\"file\" name='" |
|
|
|
+ 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))) |
|
|
|
+ "'/>\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(5, data),"inverse":this.program(7, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"5":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "</textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"7":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'></textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"9":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isFile : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.program(10, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"10":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(11, data),"inverse":this.program(13, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"11":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input class='parameter' minlength='0' name='" |
|
|
|
+ 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))) |
|
|
|
+ "' placeholder='' type='text' value='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "'/>\n"; |
|
|
|
},"13":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input class='parameter' minlength='0' name='" |
|
|
|
+ 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))) |
|
|
|
+ "' placeholder='' type='text' value=''/>\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<td class='code'>" |
|
|
|
+ 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))) |
|
|
|
+ "</td>\n<td>\n\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isBody : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(9, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "\n</td>\n<td class=\"markdown\">"; |
|
|
|
stack1 = ((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"description","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "</td>\n<td>"; |
|
|
|
stack1 = ((helper = (helper = helpers.paramType || (depth0 != null ? depth0.paramType : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"paramType","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</td>\n<td>\n <span class=\"model-signature\"></span>\n</td>\n"; |
|
|
|
},"useData":true}); |
|
|
|
var HeaderView, |
|
|
|
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, |
|
|
|
__hasProp = {}.hasOwnProperty; |
|
|
@@ -873,61 +813,68 @@ HeaderView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param_list"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
return " multiple='multiple'"; |
|
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
|
return ""; |
|
|
|
},"5":function(depth0,helpers,partials,data) { |
|
|
|
this["Handlebars"]["templates"]["param"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(3, data),"inverse":this.program(6, data),"data":data}); |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isFile : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.program(4, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"6":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helperMissing=helpers.helperMissing, buffer = ""; |
|
|
|
stack1 = ((helpers.isArray || (depth0 && depth0.isArray) || helperMissing).call(depth0, depth0, {"name":"isArray","hash":{},"fn":this.program(3, data),"inverse":this.program(7, data),"data":data})); |
|
|
|
},"2":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input type=\"file\" name='" |
|
|
|
+ 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))) |
|
|
|
+ "'/>\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(5, data),"inverse":this.program(7, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"5":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "</textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"7":function(depth0,helpers,partials,data) { |
|
|
|
return " <option selected=\"\" value=''></option>\n"; |
|
|
|
},"9":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'></textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"9":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isDefault : depth0), {"name":"if","hash":{},"fn":this.program(10, data),"inverse":this.program(12, data),"data":data}); |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isFile : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.program(10, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"10":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(11, data),"inverse":this.program(13, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"11":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <option selected=\"\" value='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"value","hash":{},"data":data}) : helper))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"value","hash":{},"data":data}) : helper))) |
|
|
|
+ " (default)</option>\n"; |
|
|
|
},"12":function(depth0,helpers,partials,data) { |
|
|
|
return " <input class='parameter' minlength='0' name='" |
|
|
|
+ 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))) |
|
|
|
+ "' placeholder='' type='text' value='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "'/>\n"; |
|
|
|
},"13":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <option value='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"value","hash":{},"data":data}) : helper))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"value","hash":{},"data":data}) : helper))) |
|
|
|
+ "</option>\n"; |
|
|
|
return " <input class='parameter' minlength='0' name='" |
|
|
|
+ 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))) |
|
|
|
+ "' placeholder='' type='text' value=''/>\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<td class='code'>" |
|
|
|
+ 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))) |
|
|
|
+ "</td>\n<td>\n <select "; |
|
|
|
stack1 = ((helpers.isArray || (depth0 && depth0.isArray) || helperMissing).call(depth0, depth0, {"name":"isArray","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data})); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += " class='parameter' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'>\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.required : depth0), {"name":"if","hash":{},"fn":this.program(3, data),"inverse":this.program(5, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
stack1 = helpers.each.call(depth0, ((stack1 = (depth0 != null ? depth0.allowableValues : depth0)) != null ? stack1.descriptiveValues : stack1), {"name":"each","hash":{},"fn":this.program(9, data),"inverse":this.noop,"data":data}); |
|
|
|
+ "</td>\n<td>\n\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isBody : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(9, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += " </select>\n</td>\n<td class=\"markdown\">"; |
|
|
|
buffer += "\n</td>\n<td class=\"markdown\">"; |
|
|
|
stack1 = ((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"description","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "</td>\n<td>"; |
|
|
|
stack1 = ((helper = (helper = helpers.paramType || (depth0 != null ? depth0.paramType : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"paramType","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</td>\n<td><span class=\"model-signature\"></span></td>"; |
|
|
|
return buffer + "</td>\n<td>\n <span class=\"model-signature\"></span>\n</td>\n"; |
|
|
|
},"useData":true}); |
|
|
|
var MainView, |
|
|
|
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, |
|
|
@@ -1042,38 +989,61 @@ MainView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param_readonly"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea' readonly='readonly' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "</textarea>\n"; |
|
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
|
this["Handlebars"]["templates"]["param_list"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
return " multiple='multiple'"; |
|
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
|
return ""; |
|
|
|
},"5":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(4, data),"inverse":this.program(6, data),"data":data}); |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(3, data),"inverse":this.program(6, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " " |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "\n"; |
|
|
|
},"6":function(depth0,helpers,partials,data) { |
|
|
|
return " (empty)\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helperMissing=helpers.helperMissing, buffer = ""; |
|
|
|
stack1 = ((helpers.isArray || (depth0 && depth0.isArray) || helperMissing).call(depth0, depth0, {"name":"isArray","hash":{},"fn":this.program(3, data),"inverse":this.program(7, data),"data":data})); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"7":function(depth0,helpers,partials,data) { |
|
|
|
return " <option selected=\"\" value=''></option>\n"; |
|
|
|
},"9":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isDefault : depth0), {"name":"if","hash":{},"fn":this.program(10, data),"inverse":this.program(12, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"10":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <option selected=\"\" value='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"value","hash":{},"data":data}) : helper))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"value","hash":{},"data":data}) : helper))) |
|
|
|
+ " (default)</option>\n"; |
|
|
|
},"12":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <option value='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"value","hash":{},"data":data}) : helper))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.value || (depth0 != null ? depth0.value : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"value","hash":{},"data":data}) : helper))) |
|
|
|
+ "</option>\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<td class='code'>" |
|
|
|
+ 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))) |
|
|
|
+ "</td>\n<td>\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isBody : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(3, data),"data":data}); |
|
|
|
+ "</td>\n<td>\n <select "; |
|
|
|
stack1 = ((helpers.isArray || (depth0 && depth0.isArray) || helperMissing).call(depth0, depth0, {"name":"isArray","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data})); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "</td>\n<td class=\"markdown\">"; |
|
|
|
buffer += " class='parameter' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'>\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.required : depth0), {"name":"if","hash":{},"fn":this.program(3, data),"inverse":this.program(5, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
stack1 = helpers.each.call(depth0, ((stack1 = (depth0 != null ? depth0.allowableValues : depth0)) != null ? stack1.descriptiveValues : stack1), {"name":"each","hash":{},"fn":this.program(9, data),"inverse":this.noop,"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += " </select>\n</td>\n<td class=\"markdown\">"; |
|
|
|
stack1 = ((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"description","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "</td>\n<td>"; |
|
|
|
stack1 = ((helper = (helper = helpers.paramType || (depth0 != null ? depth0.paramType : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"paramType","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</td>\n<td><span class=\"model-signature\"></span></td>\n"; |
|
|
|
return buffer + "</td>\n<td><span class=\"model-signature\"></span></td>"; |
|
|
|
},"useData":true}); |
|
|
|
var OperationView, |
|
|
|
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, |
|
|
@@ -1689,9 +1659,9 @@ OperationView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param_readonly_required"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
this["Handlebars"]["templates"]["param_readonly"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='" |
|
|
|
return " <textarea class='body-textarea' readonly='readonly' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
@@ -1709,7 +1679,7 @@ this["Handlebars"]["templates"]["param_readonly_required"] = Handlebars.template |
|
|
|
},"6":function(depth0,helpers,partials,data) { |
|
|
|
return " (empty)\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<td class='code required'>" |
|
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<td class='code'>" |
|
|
|
+ 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))) |
|
|
|
+ "</td>\n<td>\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isBody : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(3, data),"data":data}); |
|
|
@@ -1751,70 +1721,35 @@ ParameterContentTypeView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param_required"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isFile : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.program(4, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"2":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input type=\"file\" name='" |
|
|
|
+ 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))) |
|
|
|
+ "'/>\n"; |
|
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(5, data),"inverse":this.program(7, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"5":function(depth0,helpers,partials,data) { |
|
|
|
this["Handlebars"]["templates"]["param_readonly_required"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea required' placeholder='(required)' name='" |
|
|
|
return " <textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "</textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"7":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea required' placeholder='(required)' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'></textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"9":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isFile : depth0), {"name":"if","hash":{},"fn":this.program(10, data),"inverse":this.program(12, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"10":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input class='parameter' class='required' type='file' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'/>\n"; |
|
|
|
},"12":function(depth0,helpers,partials,data) { |
|
|
|
+ "</textarea>\n"; |
|
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(13, data),"inverse":this.program(15, data),"data":data}); |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(4, data),"inverse":this.program(6, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"13":function(depth0,helpers,partials,data) { |
|
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input class='parameter required' minlength='1' name='" |
|
|
|
+ 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))) |
|
|
|
+ "' placeholder='(required)' type='text' value='" |
|
|
|
return " " |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "'/>\n"; |
|
|
|
},"15":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input class='parameter required' minlength='1' name='" |
|
|
|
+ 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))) |
|
|
|
+ "' placeholder='(required)' type='text' value=''/>\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
+ "\n"; |
|
|
|
},"6":function(depth0,helpers,partials,data) { |
|
|
|
return " (empty)\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<td class='code required'>" |
|
|
|
+ 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))) |
|
|
|
+ "</td>\n<td>\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isBody : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(9, data),"data":data}); |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isBody : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(3, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "</td>\n<td>\n <strong><span class=\"markdown\">"; |
|
|
|
buffer += "</td>\n<td class=\"markdown\">"; |
|
|
|
stack1 = ((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"description","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "</span></strong>\n</td>\n<td>"; |
|
|
|
buffer += "</td>\n<td>"; |
|
|
|
stack1 = ((helper = (helper = helpers.paramType || (depth0 != null ? depth0.paramType : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"paramType","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</td>\n<td><span class=\"model-signature\"></span></td>\n"; |
|
|
@@ -1928,6 +1863,74 @@ ParameterView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param_required"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isFile : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.program(4, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"2":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input type=\"file\" name='" |
|
|
|
+ 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))) |
|
|
|
+ "'/>\n"; |
|
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(5, data),"inverse":this.program(7, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"5":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea required' placeholder='(required)' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'>" |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "</textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"7":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea required' placeholder='(required)' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'></textarea>\n <br />\n <div class=\"parameter-content-type\" />\n"; |
|
|
|
},"9":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isFile : depth0), {"name":"if","hash":{},"fn":this.program(10, data),"inverse":this.program(12, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"10":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input class='parameter' class='required' type='file' name='" |
|
|
|
+ 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))) |
|
|
|
+ "'/>\n"; |
|
|
|
},"12":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0['default'] : depth0), {"name":"if","hash":{},"fn":this.program(13, data),"inverse":this.program(15, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"13":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input class='parameter required' minlength='1' name='" |
|
|
|
+ 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))) |
|
|
|
+ "' placeholder='(required)' type='text' value='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "'/>\n"; |
|
|
|
},"15":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <input class='parameter required' minlength='1' name='" |
|
|
|
+ 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))) |
|
|
|
+ "' placeholder='(required)' type='text' value=''/>\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<td class='code required'>" |
|
|
|
+ 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))) |
|
|
|
+ "</td>\n<td>\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isBody : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(9, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "</td>\n<td>\n <strong><span class=\"markdown\">"; |
|
|
|
stack1 = ((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"description","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "</span></strong>\n</td>\n<td>"; |
|
|
|
stack1 = ((helper = (helper = helpers.paramType || (depth0 != null ? depth0.paramType : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"paramType","hash":{},"data":data}) : helper)); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</td>\n<td><span class=\"model-signature\"></span></td>\n"; |
|
|
|
},"useData":true}); |
|
|
|
this["Handlebars"]["templates"]["parameter_content_type"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, buffer = ""; |
|
|
|
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.consumes : depth0), {"name":"each","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}); |
|
|
|