|
|
@@ -514,35 +514,6 @@ this["Handlebars"]["templates"]["content_type"] = Handlebars.template(/*__DEFINI |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</select>\n"; |
|
|
|
},"useData":true}); |
|
|
|
var ContentTypeView, |
|
|
|
__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; |
|
|
|
|
|
|
|
ContentTypeView = (function(_super) { |
|
|
|
__extends(ContentTypeView, _super); |
|
|
|
|
|
|
|
function ContentTypeView() { |
|
|
|
return ContentTypeView.__super__.constructor.apply(this, arguments); |
|
|
|
} |
|
|
|
|
|
|
|
ContentTypeView.prototype.initialize = function() {}; |
|
|
|
|
|
|
|
ContentTypeView.prototype.render = function() { |
|
|
|
var template; |
|
|
|
template = this.template(); |
|
|
|
$(this.el).html(template(this.model)); |
|
|
|
$('label[for=contentType]', $(this.el)).text('Response Content Type'); |
|
|
|
return this; |
|
|
|
}; |
|
|
|
|
|
|
|
ContentTypeView.prototype.template = function() { |
|
|
|
return Handlebars.templates.content_type; |
|
|
|
}; |
|
|
|
|
|
|
|
return ContentTypeView; |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["main"] = Handlebars.template(/*__DEFINING__*/{"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)) |
|
|
@@ -606,68 +577,32 @@ this["Handlebars"]["templates"]["main"] = Handlebars.template(/*__DEFINING__*/{" |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + " </h4>\n </div>\n</div>\n"; |
|
|
|
},"useData":true}); |
|
|
|
var HeaderView, |
|
|
|
var ContentTypeView, |
|
|
|
__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; |
|
|
|
|
|
|
|
HeaderView = (function(_super) { |
|
|
|
__extends(HeaderView, _super); |
|
|
|
ContentTypeView = (function(_super) { |
|
|
|
__extends(ContentTypeView, _super); |
|
|
|
|
|
|
|
function HeaderView() { |
|
|
|
return HeaderView.__super__.constructor.apply(this, arguments); |
|
|
|
function ContentTypeView() { |
|
|
|
return ContentTypeView.__super__.constructor.apply(this, arguments); |
|
|
|
} |
|
|
|
|
|
|
|
HeaderView.prototype.events = { |
|
|
|
'click #show-pet-store-icon': 'showPetStore', |
|
|
|
'click #show-wordnik-dev-icon': 'showWordnikDev', |
|
|
|
'click #explore': 'showCustom', |
|
|
|
'keyup #input_baseUrl': 'showCustomOnKeyup', |
|
|
|
'keyup #input_apiKey': 'showCustomOnKeyup' |
|
|
|
}; |
|
|
|
|
|
|
|
HeaderView.prototype.initialize = function() {}; |
|
|
|
|
|
|
|
HeaderView.prototype.showPetStore = function(e) { |
|
|
|
return this.trigger('update-swagger-ui', { |
|
|
|
url: "http://petstore.swagger.wordnik.com/api/api-docs" |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
HeaderView.prototype.showWordnikDev = function(e) { |
|
|
|
return this.trigger('update-swagger-ui', { |
|
|
|
url: "http://api.wordnik.com/v4/resources.json" |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
HeaderView.prototype.showCustomOnKeyup = function(e) { |
|
|
|
if (e.keyCode === 13) { |
|
|
|
return this.showCustom(); |
|
|
|
} |
|
|
|
}; |
|
|
|
ContentTypeView.prototype.initialize = function() {}; |
|
|
|
|
|
|
|
HeaderView.prototype.showCustom = function(e) { |
|
|
|
if (e != null) { |
|
|
|
e.preventDefault(); |
|
|
|
} |
|
|
|
return this.trigger('update-swagger-ui', { |
|
|
|
url: $('#input_baseUrl').val(), |
|
|
|
apiKey: $('#input_apiKey').val() |
|
|
|
}); |
|
|
|
ContentTypeView.prototype.render = function() { |
|
|
|
var template; |
|
|
|
template = this.template(); |
|
|
|
$(this.el).html(template(this.model)); |
|
|
|
$('label[for=contentType]', $(this.el)).text('Response Content Type'); |
|
|
|
return this; |
|
|
|
}; |
|
|
|
|
|
|
|
HeaderView.prototype.update = function(url, apiKey, trigger) { |
|
|
|
if (trigger == null) { |
|
|
|
trigger = false; |
|
|
|
} |
|
|
|
$('#input_baseUrl').val(url); |
|
|
|
if (trigger) { |
|
|
|
return this.trigger('update-swagger-ui', { |
|
|
|
url: url |
|
|
|
}); |
|
|
|
} |
|
|
|
ContentTypeView.prototype.template = function() { |
|
|
|
return Handlebars.templates.content_type; |
|
|
|
}; |
|
|
|
|
|
|
|
return HeaderView; |
|
|
|
return ContentTypeView; |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
@@ -771,6 +706,134 @@ this["Handlebars"]["templates"]["operation"] = Handlebars.template(/*__DEFINING_ |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + " </form>\n <div class='response' style='display:none'>\n <h4>Request URL</h4>\n <div class='block request_url'></div>\n <h4>Response Body</h4>\n <div class='block response_body'></div>\n <h4>Response Code</h4>\n <div class='block response_code'></div>\n <h4>Response Headers</h4>\n <div class='block response_headers'></div>\n </div>\n </div>\n </li>\n </ul>\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; |
|
|
|
|
|
|
|
HeaderView = (function(_super) { |
|
|
|
__extends(HeaderView, _super); |
|
|
|
|
|
|
|
function HeaderView() { |
|
|
|
return HeaderView.__super__.constructor.apply(this, arguments); |
|
|
|
} |
|
|
|
|
|
|
|
HeaderView.prototype.events = { |
|
|
|
'click #show-pet-store-icon': 'showPetStore', |
|
|
|
'click #show-wordnik-dev-icon': 'showWordnikDev', |
|
|
|
'click #explore': 'showCustom', |
|
|
|
'keyup #input_baseUrl': 'showCustomOnKeyup', |
|
|
|
'keyup #input_apiKey': 'showCustomOnKeyup' |
|
|
|
}; |
|
|
|
|
|
|
|
HeaderView.prototype.initialize = function() {}; |
|
|
|
|
|
|
|
HeaderView.prototype.showPetStore = function(e) { |
|
|
|
return this.trigger('update-swagger-ui', { |
|
|
|
url: "http://petstore.swagger.wordnik.com/api/api-docs" |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
HeaderView.prototype.showWordnikDev = function(e) { |
|
|
|
return this.trigger('update-swagger-ui', { |
|
|
|
url: "http://api.wordnik.com/v4/resources.json" |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
HeaderView.prototype.showCustomOnKeyup = function(e) { |
|
|
|
if (e.keyCode === 13) { |
|
|
|
return this.showCustom(); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
HeaderView.prototype.showCustom = function(e) { |
|
|
|
if (e != null) { |
|
|
|
e.preventDefault(); |
|
|
|
} |
|
|
|
return this.trigger('update-swagger-ui', { |
|
|
|
url: $('#input_baseUrl').val(), |
|
|
|
apiKey: $('#input_apiKey').val() |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
HeaderView.prototype.update = function(url, apiKey, trigger) { |
|
|
|
if (trigger == null) { |
|
|
|
trigger = false; |
|
|
|
} |
|
|
|
$('#input_baseUrl').val(url); |
|
|
|
if (trigger) { |
|
|
|
return this.trigger('update-swagger-ui', { |
|
|
|
url: url |
|
|
|
}); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
return HeaderView; |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param"] = Handlebars.template(/*__DEFINING__*/{"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"; |
|
|
|
},"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 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; }, |
|
|
|
__hasProp = {}.hasOwnProperty; |
|
|
@@ -897,68 +960,61 @@ MainView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param"] = Handlebars.template(/*__DEFINING__*/{"1":function(depth0,helpers,partials,data) { |
|
|
|
this["Handlebars"]["templates"]["param_list"] = Handlebars.template(/*__DEFINING__*/{"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.isFile : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.program(4, 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; |
|
|
|
},"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) { |
|
|
|
},"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})); |
|
|
|
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['default'] : depth0), {"name":"if","hash":{},"fn":this.program(5, data),"inverse":this.program(7, data),"data":data}); |
|
|
|
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; |
|
|
|
},"5":function(depth0,helpers,partials,data) { |
|
|
|
},"10":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))) |
|
|
|
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['default'] || (depth0 != null ? depth0['default'] : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"default","hash":{},"data":data}) : helper))) |
|
|
|
+ "</textarea>\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) { |
|
|
|
+ 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 " <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"; |
|
|
|
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\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}); |
|
|
|
+ "</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 += "\n</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>\n <span class=\"model-signature\"></span>\n</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; }, |
|
|
@@ -1549,61 +1605,38 @@ OperationView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param_list"] = Handlebars.template(/*__DEFINING__*/{"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(3, data),"inverse":this.program(6, 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})); |
|
|
|
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) { |
|
|
|
this["Handlebars"]["templates"]["param_readonly"] = Handlebars.template(/*__DEFINING__*/{"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) { |
|
|
|
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['default'] : depth0), {"name":"if","hash":{},"fn":this.program(4, data),"inverse":this.program(6, 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) { |
|
|
|
},"4":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) { |
|
|
|
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, 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"; |
|
|
|
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 += " </select>\n</td>\n<td 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 += "</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><span class=\"model-signature\"></span></td>\n"; |
|
|
|
},"useData":true}); |
|
|
|
var ParameterContentTypeView, |
|
|
|
__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; }, |
|
|
@@ -1634,9 +1667,9 @@ ParameterContentTypeView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param_readonly"] = Handlebars.template(/*__DEFINING__*/{"1":function(depth0,helpers,partials,data) { |
|
|
|
this["Handlebars"]["templates"]["param_readonly_required"] = Handlebars.template(/*__DEFINING__*/{"1":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " <textarea class='body-textarea' readonly='readonly' 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))) |
|
|
@@ -1654,7 +1687,7 @@ this["Handlebars"]["templates"]["param_readonly"] = Handlebars.template(/*__DEFI |
|
|
|
},"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'>" |
|
|
|
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(3, data),"data":data}); |
|
|
@@ -1776,35 +1809,70 @@ ParameterView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param_readonly_required"] = Handlebars.template(/*__DEFINING__*/{"1":function(depth0,helpers,partials,data) { |
|
|
|
this["Handlebars"]["templates"]["param_required"] = Handlebars.template(/*__DEFINING__*/{"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 " <textarea class='body-textarea' readonly='readonly' placeholder='(required)' name='" |
|
|
|
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"; |
|
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
|
},"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['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.isFile : depth0), {"name":"if","hash":{},"fn":this.program(10, data),"inverse":this.program(12, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer; |
|
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
|
},"10":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return " " |
|
|
|
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"; |
|
|
|
},"6":function(depth0,helpers,partials,data) { |
|
|
|
return " (empty)\n"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
+ "'/>\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(3, data),"data":data}); |
|
|
|
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 class=\"markdown\">"; |
|
|
|
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 += "</td>\n<td>"; |
|
|
|
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"; |
|
|
@@ -1880,73 +1948,26 @@ ResourceView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["param_required"] = Handlebars.template(/*__DEFINING__*/{"1":function(depth0,helpers,partials,data) { |
|
|
|
this["Handlebars"]["templates"]["parameter_content_type"] = Handlebars.template(/*__DEFINING__*/{"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}); |
|
|
|
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.consumes : 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 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"; |
|
|
|
},"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}); |
|
|
|
var stack1, lambda=this.lambda, buffer = " <option value=\""; |
|
|
|
stack1 = lambda(depth0, depth0); |
|
|
|
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)); |
|
|
|
buffer += "\">"; |
|
|
|
stack1 = lambda(depth0, depth0); |
|
|
|
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)); |
|
|
|
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=\"parameterContentType\"></label>\n<select name=\"parameterContentType\">\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.consumes : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(4, data),"data":data}); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</td>\n<td><span class=\"model-signature\"></span></td>\n"; |
|
|
|
return buffer + "</select>\n"; |
|
|
|
},"useData":true}); |
|
|
|
var ResponseContentTypeView, |
|
|
|
__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; }, |
|
|
@@ -1977,26 +1998,43 @@ ResponseContentTypeView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["parameter_content_type"] = Handlebars.template(/*__DEFINING__*/{"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}); |
|
|
|
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); |
|
|
|
this["Handlebars"]["templates"]["resource"] = Handlebars.template(/*__DEFINING__*/{"1":function(depth0,helpers,partials,data) { |
|
|
|
return " : "; |
|
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return "<li>\n <a href='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.url || (depth0 != null ? depth0.url : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"url","hash":{},"data":data}) : helper))) |
|
|
|
+ "'>Raw</a>\n </li>"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helper, options, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, blockHelperMissing=helpers.blockHelperMissing, buffer = "<div class='heading'>\n <h2>\n <a href='#!/" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "' class=\"toggleEndpointList\" data-id=\"" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "\">" |
|
|
|
+ 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))) |
|
|
|
+ "</a> "; |
|
|
|
stack1 = ((helper = (helper = helpers.summary || (depth0 != null ? depth0.summary : depth0)) != null ? helper : helperMissing),(options={"name":"summary","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
|
if (!helpers.summary) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
buffer += "\">"; |
|
|
|
stack1 = lambda(depth0, depth0); |
|
|
|
stack1 = ((helper = (helper = helpers.summary || (depth0 != null ? depth0.summary : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"summary","hash":{},"data":data}) : helper)); |
|
|
|
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=\"parameterContentType\"></label>\n<select name=\"parameterContentType\">\n"; |
|
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.consumes : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.program(4, data),"data":data}); |
|
|
|
buffer += "\n </h2>\n <ul class='options'>\n <li>\n <a href='#!/" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "' id='endpointListTogger_" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "' class=\"toggleEndpointList\" data-id=\"" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "\">Show/Hide</a>\n </li>\n <li>\n <a href='#' class=\"collapseResource\" data-id=\"" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "\">\n List Operations\n </a>\n </li>\n <li>\n <a href='#' class=\"expandResource\" data-id=\"" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "\">\n Expand Operations\n </a>\n </li>\n "; |
|
|
|
stack1 = ((helper = (helper = helpers.url || (depth0 != null ? depth0.url : depth0)) != null ? helper : helperMissing),(options={"name":"url","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
|
if (!helpers.url) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "</select>\n"; |
|
|
|
return buffer + "\n </ul>\n</div>\n<ul class='endpoints' id='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "_endpoint_list' style='display:none'>\n\n</ul>\n"; |
|
|
|
},"useData":true}); |
|
|
|
var SignatureView, |
|
|
|
__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; }, |
|
|
@@ -2070,43 +2108,26 @@ SignatureView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["resource"] = Handlebars.template(/*__DEFINING__*/{"1":function(depth0,helpers,partials,data) { |
|
|
|
return " : "; |
|
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
|
return "<li>\n <a href='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.url || (depth0 != null ? depth0.url : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"url","hash":{},"data":data}) : helper))) |
|
|
|
+ "'>Raw</a>\n </li>"; |
|
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
|
var stack1, helper, options, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, blockHelperMissing=helpers.blockHelperMissing, buffer = "<div class='heading'>\n <h2>\n <a href='#!/" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "' class=\"toggleEndpointList\" data-id=\"" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "\">" |
|
|
|
+ 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))) |
|
|
|
+ "</a> "; |
|
|
|
stack1 = ((helper = (helper = helpers.summary || (depth0 != null ? depth0.summary : depth0)) != null ? helper : helperMissing),(options={"name":"summary","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
|
if (!helpers.summary) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
|
this["Handlebars"]["templates"]["response_content_type"] = Handlebars.template(/*__DEFINING__*/{"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; } |
|
|
|
stack1 = ((helper = (helper = helpers.summary || (depth0 != null ? depth0.summary : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"summary","hash":{},"data":data}) : helper)); |
|
|
|
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 += "\n </h2>\n <ul class='options'>\n <li>\n <a href='#!/" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "' id='endpointListTogger_" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "' class=\"toggleEndpointList\" data-id=\"" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "\">Show/Hide</a>\n </li>\n <li>\n <a href='#' class=\"collapseResource\" data-id=\"" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "\">\n List Operations\n </a>\n </li>\n <li>\n <a href='#' class=\"expandResource\" data-id=\"" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "\">\n Expand Operations\n </a>\n </li>\n "; |
|
|
|
stack1 = ((helper = (helper = helpers.url || (depth0 != null ? depth0.url : depth0)) != null ? helper : helperMissing),(options={"name":"url","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
|
if (!helpers.url) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
|
buffer += "\">"; |
|
|
|
stack1 = lambda(depth0, depth0); |
|
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
|
return buffer + "\n </ul>\n</div>\n<ul class='endpoints' id='" |
|
|
|
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
|
|
+ "_endpoint_list' style='display:none'>\n\n</ul>\n"; |
|
|
|
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=\"responseContentType\"></label>\n<select name=\"responseContentType\">\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 StatusCodeView, |
|
|
|
__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; }, |
|
|
@@ -2150,27 +2171,6 @@ StatusCodeView = (function(_super) { |
|
|
|
|
|
|
|
})(Backbone.View); |
|
|
|
|
|
|
|
this["Handlebars"]["templates"]["response_content_type"] = Handlebars.template(/*__DEFINING__*/{"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=\"responseContentType\"></label>\n<select name=\"responseContentType\">\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"]["signature"] = Handlebars.template(/*__DEFINING__*/{"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 = "<div>\n<ul class=\"signature-nav\">\n <li><a class=\"description-link\" href=\"#\">Model</a></li>\n <li><a class=\"snippet-link\" href=\"#\">Model Schema</a></li>\n</ul>\n<div>\n\n<div class=\"signature-container\">\n <div class=\"description\">\n "; |
|
|
|
stack1 = ((helper = (helper = helpers.signature || (depth0 != null ? depth0.signature : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"signature","hash":{},"data":data}) : helper)); |
|
|
|