|
@@ -359,6 +359,7 @@ window.Docs = { |
|
|
// e.g. /docs/#!/words/get_search
|
|
|
// e.g. /docs/#!/words/get_search
|
|
|
var fragments = $.param.fragment().split('/');
|
|
|
var fragments = $.param.fragment().split('/');
|
|
|
fragments.shift(); // get rid of the bang
|
|
|
fragments.shift(); // get rid of the bang
|
|
|
|
|
|
fragments = _.map(fragments, decodeURIComponent); // decode encoded paths
|
|
|
|
|
|
|
|
|
switch (fragments.length) {
|
|
|
switch (fragments.length) {
|
|
|
case 1:
|
|
|
case 1:
|
|
@@ -366,22 +367,22 @@ window.Docs = { |
|
|
var dom_id = 'resource_' + fragments[0];
|
|
|
var dom_id = 'resource_' + fragments[0];
|
|
|
|
|
|
|
|
|
Docs.expandEndpointListForResource(fragments[0]);
|
|
|
Docs.expandEndpointListForResource(fragments[0]);
|
|
|
$("#"+dom_id).slideto({highlight: false});
|
|
|
|
|
|
|
|
|
$('[id="' + dom_id + '"]').slideto({highlight: false});
|
|
|
break;
|
|
|
break;
|
|
|
case 2:
|
|
|
case 2:
|
|
|
// Refer to the endpoint DOM element, e.g. #words_get_search
|
|
|
// Refer to the endpoint DOM element, e.g. #words_get_search
|
|
|
|
|
|
|
|
|
// Expand Resource
|
|
|
// Expand Resource
|
|
|
Docs.expandEndpointListForResource(fragments[0]);
|
|
|
Docs.expandEndpointListForResource(fragments[0]);
|
|
|
$("#"+dom_id).slideto({highlight: false});
|
|
|
|
|
|
|
|
|
// $("#"+dom_id).slideto({highlight: false});
|
|
|
|
|
|
|
|
|
// Expand operation
|
|
|
// Expand operation
|
|
|
var li_dom_id = fragments.join('_');
|
|
|
var li_dom_id = fragments.join('_');
|
|
|
var li_content_dom_id = li_dom_id + "_content";
|
|
|
var li_content_dom_id = li_dom_id + "_content";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Docs.expandOperation($('#'+li_content_dom_id));
|
|
|
|
|
|
$('#'+li_dom_id).slideto({highlight: false});
|
|
|
|
|
|
|
|
|
Docs.expandOperation($('[id="' + li_content_dom_id + '"]'));
|
|
|
|
|
|
$('[id="' + li_dom_id + '"]').slideto({highlight: false});
|
|
|
break;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
@@ -475,37 +476,37 @@ Handlebars.registerHelper('sanitize', function(html) { |
|
|
this["Handlebars"]["templates"]["main"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
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\">" |
|
|
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)) |
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.title : stack1), depth0)) |
|
|
+ "</div>\n <div class=\"info_description markdown\">"; |
|
|
|
|
|
|
|
|
+ "</div>\r\n <div class=\"info_description markdown\">"; |
|
|
stack1 = lambda(((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.description : stack1), depth0); |
|
|
stack1 = lambda(((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.description : stack1), depth0); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "</div>\n"; |
|
|
|
|
|
|
|
|
buffer += "</div>\r\n"; |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.externalDocs : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.externalDocs : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += " "; |
|
|
buffer += " "; |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.termsOfServiceUrl : stack1), {"name":"if","hash":{},"fn":this.program(4, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.termsOfServiceUrl : stack1), {"name":"if","hash":{},"fn":this.program(4, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "\n "; |
|
|
|
|
|
|
|
|
buffer += "\r\n "; |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.name : stack1), {"name":"if","hash":{},"fn":this.program(6, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.name : stack1), {"name":"if","hash":{},"fn":this.program(6, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "\n "; |
|
|
|
|
|
|
|
|
buffer += "\r\n "; |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.url : stack1), {"name":"if","hash":{},"fn":this.program(8, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.url : stack1), {"name":"if","hash":{},"fn":this.program(8, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "\n "; |
|
|
|
|
|
|
|
|
buffer += "\r\n "; |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.email : stack1), {"name":"if","hash":{},"fn":this.program(10, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.contact : stack1)) != null ? stack1.email : stack1), {"name":"if","hash":{},"fn":this.program(10, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "\n "; |
|
|
|
|
|
|
|
|
buffer += "\r\n "; |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.license : stack1), {"name":"if","hash":{},"fn":this.program(12, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.license : stack1), {"name":"if","hash":{},"fn":this.program(12, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
return buffer + "\n"; |
|
|
|
|
|
|
|
|
return buffer + "\r\n"; |
|
|
},"2":function(depth0,helpers,partials,data) { |
|
|
},"2":function(depth0,helpers,partials,data) { |
|
|
var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression; |
|
|
var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression; |
|
|
return " <h5>More documentations</h5>\n <p>" |
|
|
|
|
|
|
|
|
return " <h5>More documentations</h5>\r\n <p>" |
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.externalDocs : depth0)) != null ? stack1.description : stack1), depth0)) |
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.externalDocs : depth0)) != null ? stack1.description : stack1), depth0)) |
|
|
+ "</p>\n <a href=\"" |
|
|
|
|
|
|
|
|
+ "</p>\r\n <a href=\"" |
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.externalDocs : depth0)) != null ? stack1.url : stack1), depth0)) |
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.externalDocs : depth0)) != null ? stack1.url : stack1), depth0)) |
|
|
+ "\" target=\"_blank\">" |
|
|
+ "\" target=\"_blank\">" |
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.externalDocs : depth0)) != null ? stack1.url : stack1), depth0)) |
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.externalDocs : depth0)) != null ? stack1.url : stack1), depth0)) |
|
|
+ "</a>\n"; |
|
|
|
|
|
|
|
|
+ "</a>\r\n"; |
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
},"4":function(depth0,helpers,partials,data) { |
|
|
var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression; |
|
|
var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression; |
|
|
return "<div class=\"info_tos\"><a href=\"" |
|
|
return "<div class=\"info_tos\"><a href=\"" |
|
@@ -541,7 +542,7 @@ this["Handlebars"]["templates"]["main"] = Handlebars.template({"1":function(dept |
|
|
var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression; |
|
|
var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression; |
|
|
return " , <span style=\"font-variant: small-caps\">api version</span>: " |
|
|
return " , <span style=\"font-variant: small-caps\">api version</span>: " |
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.version : stack1), depth0)) |
|
|
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.version : stack1), depth0)) |
|
|
+ "\n "; |
|
|
|
|
|
|
|
|
+ "\r\n "; |
|
|
},"16":function(depth0,helpers,partials,data) { |
|
|
},"16":function(depth0,helpers,partials,data) { |
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
return " <span style=\"float:right\"><a href=\"" |
|
|
return " <span style=\"float:right\"><a href=\"" |
|
@@ -552,76 +553,76 @@ this["Handlebars"]["templates"]["main"] = Handlebars.template({"1":function(dept |
|
|
+ escapeExpression(((helper = (helper = helpers.validatorUrl || (depth0 != null ? depth0.validatorUrl : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"validatorUrl","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.validatorUrl || (depth0 != null ? depth0.validatorUrl : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"validatorUrl","hash":{},"data":data}) : helper))) |
|
|
+ "?url=" |
|
|
+ "?url=" |
|
|
+ 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))) |
|
|
+ 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))) |
|
|
+ "\"></a>\n </span>\n"; |
|
|
|
|
|
|
|
|
+ "\"></a>\r\n </span>\r\n"; |
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
},"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 class='info' id='api_info'>\n"; |
|
|
|
|
|
|
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<div class='info' id='api_info'>\r\n"; |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.info : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.info : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "</div>\n<div class='container' id='resources_container'>\n <ul id='resources'></ul>\n\n <div class=\"footer\">\n <br>\n <br>\n <h4 style=\"color: #999\">[ <span style=\"font-variant: small-caps\">base url</span>: " |
|
|
|
|
|
|
|
|
buffer += "</div>\r\n<div class='container' id='resources_container'>\r\n <ul id='resources'></ul>\r\n\r\n <div class=\"footer\">\r\n <br>\r\n <br>\r\n <h4 style=\"color: #999\">[ <span style=\"font-variant: small-caps\">base url</span>: " |
|
|
+ escapeExpression(((helper = (helper = helpers.basePath || (depth0 != null ? depth0.basePath : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"basePath","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.basePath || (depth0 != null ? depth0.basePath : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"basePath","hash":{},"data":data}) : helper))) |
|
|
+ "\n"; |
|
|
|
|
|
|
|
|
+ "\r\n"; |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.version : stack1), {"name":"if","hash":{},"fn":this.program(14, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, ((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.version : stack1), {"name":"if","hash":{},"fn":this.program(14, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "]\n"; |
|
|
|
|
|
|
|
|
buffer += "]\r\n"; |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.validatorUrl : depth0), {"name":"if","hash":{},"fn":this.program(16, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.validatorUrl : depth0), {"name":"if","hash":{},"fn":this.program(16, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
return buffer + " </h4>\n </div>\n</div>\n"; |
|
|
|
|
|
|
|
|
return buffer + " </h4>\r\n </div>\r\n</div>\r\n"; |
|
|
},"useData":true}); |
|
|
},"useData":true}); |
|
|
this["Handlebars"]["templates"]["operation"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
this["Handlebars"]["templates"]["operation"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
return "deprecated"; |
|
|
return "deprecated"; |
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
return " <h4>Warning: Deprecated</h4>\n"; |
|
|
|
|
|
|
|
|
return " <h4>Warning: Deprecated</h4>\r\n"; |
|
|
},"5":function(depth0,helpers,partials,data) { |
|
|
},"5":function(depth0,helpers,partials,data) { |
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, buffer = " <h4>Implementation Notes</h4>\n <p class=\"markdown\">"; |
|
|
|
|
|
|
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, buffer = " <h4>Implementation Notes</h4>\r\n <p 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)); |
|
|
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; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
return buffer + "</p>\n"; |
|
|
|
|
|
|
|
|
return buffer + "</p>\r\n"; |
|
|
},"7":function(depth0,helpers,partials,data) { |
|
|
},"7":function(depth0,helpers,partials,data) { |
|
|
return " <div class=\"auth\">\n <span class=\"api-ic ic-error\"></span>"; |
|
|
|
|
|
|
|
|
return " <div class=\"auth\">\r\n <span class=\"api-ic ic-error\"></span>"; |
|
|
},"9":function(depth0,helpers,partials,data) { |
|
|
},"9":function(depth0,helpers,partials,data) { |
|
|
var stack1, buffer = " <div id=\"api_information_panel\" style=\"top: 526px; left: 776px; display: none;\">\n"; |
|
|
|
|
|
|
|
|
var stack1, buffer = " <div id=\"api_information_panel\" style=\"top: 526px; left: 776px; display: none;\">\r\n"; |
|
|
stack1 = helpers.each.call(depth0, depth0, {"name":"each","hash":{},"fn":this.program(10, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers.each.call(depth0, depth0, {"name":"each","hash":{},"fn":this.program(10, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
return buffer + " </div>\n"; |
|
|
|
|
|
|
|
|
return buffer + " </div>\r\n"; |
|
|
},"10":function(depth0,helpers,partials,data) { |
|
|
},"10":function(depth0,helpers,partials,data) { |
|
|
var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression, buffer = " <div title='"; |
|
|
var stack1, lambda=this.lambda, escapeExpression=this.escapeExpression, buffer = " <div title='"; |
|
|
stack1 = lambda((depth0 != null ? depth0.description : depth0), depth0); |
|
|
stack1 = lambda((depth0 != null ? depth0.description : depth0), depth0); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
return buffer + "'>" |
|
|
return buffer + "'>" |
|
|
+ escapeExpression(lambda((depth0 != null ? depth0.scope : depth0), depth0)) |
|
|
+ escapeExpression(lambda((depth0 != null ? depth0.scope : depth0), depth0)) |
|
|
+ "</div>\n"; |
|
|
|
|
|
|
|
|
+ "</div>\r\n"; |
|
|
},"12":function(depth0,helpers,partials,data) { |
|
|
},"12":function(depth0,helpers,partials,data) { |
|
|
return "</div>"; |
|
|
return "</div>"; |
|
|
},"14":function(depth0,helpers,partials,data) { |
|
|
},"14":function(depth0,helpers,partials,data) { |
|
|
return " <div class='access'>\n <span class=\"api-ic ic-off\" title=\"click to authenticate\"></span>\n </div>\n"; |
|
|
|
|
|
|
|
|
return " <div class='access'>\r\n <span class=\"api-ic ic-off\" title=\"click to authenticate\"></span>\r\n </div>\r\n"; |
|
|
},"16":function(depth0,helpers,partials,data) { |
|
|
},"16":function(depth0,helpers,partials,data) { |
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
return " <h4>Response Class (Status " |
|
|
return " <h4>Response Class (Status " |
|
|
+ escapeExpression(((helper = (helper = helpers.successCode || (depth0 != null ? depth0.successCode : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"successCode","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.successCode || (depth0 != null ? depth0.successCode : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"successCode","hash":{},"data":data}) : helper))) |
|
|
+ ")</h4>\n <p><span class=\"model-signature\" /></p>\n <br/>\n <div class=\"response-content-type\" />\n"; |
|
|
|
|
|
|
|
|
+ ")</h4>\r\n <p><span class=\"model-signature\" /></p>\r\n <br/>\r\n <div class=\"response-content-type\" />\r\n"; |
|
|
},"18":function(depth0,helpers,partials,data) { |
|
|
},"18":function(depth0,helpers,partials,data) { |
|
|
return " <h4>Parameters</h4>\n <table class='fullwidth'>\n <thead>\n <tr>\n <th style=\"width: 100px; max-width: 100px\">Parameter</th>\n <th style=\"width: 310px; max-width: 310px\">Value</th>\n <th style=\"width: 200px; max-width: 200px\">Description</th>\n <th style=\"width: 100px; max-width: 100px\">Parameter Type</th>\n <th style=\"width: 220px; max-width: 230px\">Data Type</th>\n </tr>\n </thead>\n <tbody class=\"operation-params\">\n\n </tbody>\n </table>\n"; |
|
|
|
|
|
|
|
|
return " <h4>Parameters</h4>\r\n <table class='fullwidth'>\r\n <thead>\r\n <tr>\r\n <th style=\"width: 100px; max-width: 100px\">Parameter</th>\r\n <th style=\"width: 310px; max-width: 310px\">Value</th>\r\n <th style=\"width: 200px; max-width: 200px\">Description</th>\r\n <th style=\"width: 100px; max-width: 100px\">Parameter Type</th>\r\n <th style=\"width: 220px; max-width: 230px\">Data Type</th>\r\n </tr>\r\n </thead>\r\n <tbody class=\"operation-params\">\r\n\r\n </tbody>\r\n </table>\r\n"; |
|
|
},"20":function(depth0,helpers,partials,data) { |
|
|
},"20":function(depth0,helpers,partials,data) { |
|
|
return " <div style='margin:0;padding:0;display:inline'></div>\n <h4>Response Messages</h4>\n <table class='fullwidth'>\n <thead>\n <tr>\n <th>HTTP Status Code</th>\n <th>Reason</th>\n <th>Response Model</th>\n <th>Headers</th>\n </tr>\n </thead>\n <tbody class=\"operation-status\">\n\n </tbody>\n </table>\n"; |
|
|
|
|
|
|
|
|
return " <div style='margin:0;padding:0;display:inline'></div>\r\n <h4>Response Messages</h4>\r\n <table class='fullwidth'>\r\n <thead>\r\n <tr>\r\n <th>HTTP Status Code</th>\r\n <th>Reason</th>\r\n <th>Response Model</th>\r\n <th>Headers</th>\r\n </tr>\r\n </thead>\r\n <tbody class=\"operation-status\">\r\n\r\n </tbody>\r\n </table>\r\n"; |
|
|
},"22":function(depth0,helpers,partials,data) { |
|
|
},"22":function(depth0,helpers,partials,data) { |
|
|
return ""; |
|
|
return ""; |
|
|
},"24":function(depth0,helpers,partials,data) { |
|
|
},"24":function(depth0,helpers,partials,data) { |
|
|
return " <div class='sandbox_header'>\n <input class='submit' name='commit' type='button' value='Try it out!' />\n <a href='#' class='response_hider' style='display:none'>Hide Response</a>\n <span class='response_throbber' style='display:none'></span>\n </div>\n"; |
|
|
|
|
|
|
|
|
return " <div class='sandbox_header'>\r\n <input class='submit' name='commit' type='button' value='Try it out!' />\r\n <a href='#' class='response_hider' style='display:none'>Hide Response</a>\r\n <span class='response_throbber' style='display:none'></span>\r\n </div>\r\n"; |
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
},"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 = "\n <ul class='operations' >\n <li class='" |
|
|
|
|
|
|
|
|
var stack1, helper, options, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, blockHelperMissing=helpers.blockHelperMissing, buffer = "\r\n <ul class='operations' >\r\n <li class='" |
|
|
+ escapeExpression(((helper = (helper = helpers.method || (depth0 != null ? depth0.method : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"method","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.method || (depth0 != null ? depth0.method : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"method","hash":{},"data":data}) : helper))) |
|
|
+ " operation' id='" |
|
|
+ " operation' id='" |
|
|
+ escapeExpression(((helper = (helper = helpers.parentId || (depth0 != null ? depth0.parentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"parentId","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.parentId || (depth0 != null ? depth0.parentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"parentId","hash":{},"data":data}) : helper))) |
|
|
+ "_" |
|
|
+ "_" |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ "'>\n <div class='heading'>\n <h3>\n <span class='http_method'>\n <a href='#!/" |
|
|
|
|
|
+ escapeExpression(((helper = (helper = helpers.parentId || (depth0 != null ? depth0.parentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"parentId","hash":{},"data":data}) : helper))) |
|
|
|
|
|
|
|
|
+ "'>\r\n <div class='heading'>\r\n <h3>\r\n <span class='http_method'>\r\n <a href='#!/" |
|
|
|
|
|
+ escapeExpression(((helper = (helper = helpers.encodedParentId || (depth0 != null ? depth0.encodedParentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"encodedParentId","hash":{},"data":data}) : helper))) |
|
|
+ "/" |
|
|
+ "/" |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ "' class=\"toggleOperation\">" |
|
|
+ "' class=\"toggleOperation\">" |
|
|
+ escapeExpression(((helper = (helper = helpers.method || (depth0 != null ? depth0.method : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"method","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.method || (depth0 != null ? depth0.method : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"method","hash":{},"data":data}) : helper))) |
|
|
+ "</a>\n </span>\n <span class='path'>\n <a href='#!/" |
|
|
|
|
|
+ escapeExpression(((helper = (helper = helpers.parentId || (depth0 != null ? depth0.parentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"parentId","hash":{},"data":data}) : helper))) |
|
|
|
|
|
|
|
|
+ "</a>\r\n </span>\r\n <span class='path'>\r\n <a href='#!/" |
|
|
|
|
|
+ escapeExpression(((helper = (helper = helpers.encodedParentId || (depth0 != null ? depth0.encodedParentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"encodedParentId","hash":{},"data":data}) : helper))) |
|
|
+ "/" |
|
|
+ "/" |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ "' class=\"toggleOperation "; |
|
|
+ "' class=\"toggleOperation "; |
|
@@ -629,18 +630,18 @@ this["Handlebars"]["templates"]["operation"] = Handlebars.template({"1":function |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "\">" |
|
|
buffer += "\">" |
|
|
+ escapeExpression(((helper = (helper = helpers.path || (depth0 != null ? depth0.path : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"path","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.path || (depth0 != null ? depth0.path : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"path","hash":{},"data":data}) : helper))) |
|
|
+ "</a>\n </span>\n </h3>\n <ul class='options'>\n <li>\n <a href='#!/" |
|
|
|
|
|
+ escapeExpression(((helper = (helper = helpers.parentId || (depth0 != null ? depth0.parentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"parentId","hash":{},"data":data}) : helper))) |
|
|
|
|
|
|
|
|
+ "</a>\r\n </span>\r\n </h3>\r\n <ul class='options'>\r\n <li>\r\n <a href='#!/" |
|
|
|
|
|
+ escapeExpression(((helper = (helper = helpers.encodedParentId || (depth0 != null ? depth0.encodedParentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"encodedParentId","hash":{},"data":data}) : helper))) |
|
|
+ "/" |
|
|
+ "/" |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ "' class=\"toggleOperation\">"; |
|
|
+ "' class=\"toggleOperation\">"; |
|
|
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)); |
|
|
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; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "</a>\n </li>\n </ul>\n </div>\n <div class='content' id='" |
|
|
|
|
|
|
|
|
buffer += "</a>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class='content' id='" |
|
|
+ escapeExpression(((helper = (helper = helpers.parentId || (depth0 != null ? depth0.parentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"parentId","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.parentId || (depth0 != null ? depth0.parentId : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"parentId","hash":{},"data":data}) : helper))) |
|
|
+ "_" |
|
|
+ "_" |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.nickname || (depth0 != null ? depth0.nickname : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nickname","hash":{},"data":data}) : helper))) |
|
|
+ "_content' style='display:none'>\n"; |
|
|
|
|
|
|
|
|
+ "_content' style='display:none'>\r\n"; |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.deprecated : depth0), {"name":"if","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.deprecated : depth0), {"name":"if","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.description : depth0), {"name":"if","hash":{},"fn":this.program(5, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.description : depth0), {"name":"if","hash":{},"fn":this.program(5, data),"inverse":this.noop,"data":data}); |
|
@@ -648,27 +649,27 @@ this["Handlebars"]["templates"]["operation"] = Handlebars.template({"1":function |
|
|
stack1 = ((helper = (helper = helpers.oauth || (depth0 != null ? depth0.oauth : depth0)) != null ? helper : helperMissing),(options={"name":"oauth","hash":{},"fn":this.program(7, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
stack1 = ((helper = (helper = helpers.oauth || (depth0 != null ? depth0.oauth : depth0)) != null ? helper : helperMissing),(options={"name":"oauth","hash":{},"fn":this.program(7, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
if (!helpers.oauth) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
if (!helpers.oauth) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "\n"; |
|
|
|
|
|
|
|
|
buffer += "\r\n"; |
|
|
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.oauth : depth0), {"name":"each","hash":{},"fn":this.program(9, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.oauth : depth0), {"name":"each","hash":{},"fn":this.program(9, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += " "; |
|
|
buffer += " "; |
|
|
stack1 = ((helper = (helper = helpers.oauth || (depth0 != null ? depth0.oauth : depth0)) != null ? helper : helperMissing),(options={"name":"oauth","hash":{},"fn":this.program(12, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
stack1 = ((helper = (helper = helpers.oauth || (depth0 != null ? depth0.oauth : depth0)) != null ? helper : helperMissing),(options={"name":"oauth","hash":{},"fn":this.program(12, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
if (!helpers.oauth) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
if (!helpers.oauth) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "\n"; |
|
|
|
|
|
|
|
|
buffer += "\r\n"; |
|
|
stack1 = ((helper = (helper = helpers.oauth || (depth0 != null ? depth0.oauth : depth0)) != null ? helper : helperMissing),(options={"name":"oauth","hash":{},"fn":this.program(14, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
stack1 = ((helper = (helper = helpers.oauth || (depth0 != null ? depth0.oauth : depth0)) != null ? helper : helperMissing),(options={"name":"oauth","hash":{},"fn":this.program(14, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper)); |
|
|
if (!helpers.oauth) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
if (!helpers.oauth) { stack1 = blockHelperMissing.call(depth0, stack1, options); } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.type : depth0), {"name":"if","hash":{},"fn":this.program(16, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.type : depth0), {"name":"if","hash":{},"fn":this.program(16, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += " <form accept-charset='UTF-8' class='sandbox'>\n <div style='margin:0;padding:0;display:inline'></div>\n"; |
|
|
|
|
|
|
|
|
buffer += " <form accept-charset='UTF-8' class='sandbox'>\r\n <div style='margin:0;padding:0;display:inline'></div>\r\n"; |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.parameters : depth0), {"name":"if","hash":{},"fn":this.program(18, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.parameters : depth0), {"name":"if","hash":{},"fn":this.program(18, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.responseMessages : depth0), {"name":"if","hash":{},"fn":this.program(20, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.responseMessages : depth0), {"name":"if","hash":{},"fn":this.program(20, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isReadOnly : depth0), {"name":"if","hash":{},"fn":this.program(22, data),"inverse":this.program(24, data),"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.isReadOnly : depth0), {"name":"if","hash":{},"fn":this.program(22, data),"inverse":this.program(24, data),"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
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"; |
|
|
|
|
|
|
|
|
return buffer + " </form>\r\n <div class='response' style='display:none'>\r\n <h4>Request URL</h4>\r\n <div class='block request_url'></div>\r\n <h4>Response Body</h4>\r\n <div class='block response_body'></div>\r\n <h4>Response Code</h4>\r\n <div class='block response_code'></div>\r\n <h4>Response Headers</h4>\r\n <div class='block response_headers'></div>\r\n </div>\r\n </div>\r\n </li>\r\n </ul>\r\n"; |
|
|
},"useData":true}); |
|
|
},"useData":true}); |
|
|
this["Handlebars"]["templates"]["param"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
this["Handlebars"]["templates"]["param"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
var stack1, buffer = ""; |
|
|
var stack1, buffer = ""; |
|
@@ -956,11 +957,11 @@ this["Handlebars"]["templates"]["resource"] = Handlebars.template({"1":function( |
|
|
return " : "; |
|
|
return " : "; |
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
},"3":function(depth0,helpers,partials,data) { |
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; |
|
|
return " <li>\n <a href='" |
|
|
|
|
|
|
|
|
return " <li>\r\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))) |
|
|
+ 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>\n"; |
|
|
|
|
|
|
|
|
+ "'>Raw</a>\r\n </li>\r\n"; |
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
},"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='#!/" |
|
|
|
|
|
|
|
|
var stack1, helper, options, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, blockHelperMissing=helpers.blockHelperMissing, buffer = "<div class='heading'>\r\n <h2>\r\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))) |
|
|
+ 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=\"" |
|
|
+ "' 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.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper))) |
|
@@ -972,22 +973,22 @@ this["Handlebars"]["templates"]["resource"] = Handlebars.template({"1":function( |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
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)); |
|
|
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; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "\n </h2>\n <ul class='options'>\n <li>\n <a href='#!/" |
|
|
|
|
|
|
|
|
buffer += "\r\n </h2>\r\n <ul class='options'>\r\n <li>\r\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))) |
|
|
+ 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_" |
|
|
+ "' 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))) |
|
|
+ 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=\"" |
|
|
+ "' 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.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=\"" |
|
|
|
|
|
|
|
|
+ "\">Show/Hide</a>\r\n </li>\r\n <li>\r\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))) |
|
|
+ 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=\"" |
|
|
|
|
|
|
|
|
+ "\">\r\n List Operations\r\n </a>\r\n </li>\r\n <li>\r\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))) |
|
|
+ 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"; |
|
|
|
|
|
|
|
|
+ "\">\r\n Expand Operations\r\n </a>\r\n </li>\r\n"; |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.url : depth0), {"name":"if","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.url : depth0), {"name":"if","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
return buffer + " </ul>\n</div>\n<ul class='endpoints' id='" |
|
|
|
|
|
|
|
|
return buffer + " </ul>\r\n</div>\r\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))) |
|
|
+ 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"; |
|
|
|
|
|
|
|
|
+ "_endpoint_list' style='display:none'>\r\n\r\n</ul>\r\n"; |
|
|
},"useData":true}); |
|
|
},"useData":true}); |
|
|
this["Handlebars"]["templates"]["response_content_type"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
this["Handlebars"]["templates"]["response_content_type"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
var stack1, buffer = ""; |
|
|
var stack1, buffer = ""; |
|
@@ -1020,23 +1021,23 @@ this["Handlebars"]["templates"]["signature"] = Handlebars.template({"compiler":[ |
|
|
},"useData":true}); |
|
|
},"useData":true}); |
|
|
this["Handlebars"]["templates"]["status_code"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
this["Handlebars"]["templates"]["status_code"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { |
|
|
var lambda=this.lambda, escapeExpression=this.escapeExpression; |
|
|
var lambda=this.lambda, escapeExpression=this.escapeExpression; |
|
|
return " <tr>\n <td>" |
|
|
|
|
|
|
|
|
return " <tr>\r\n <td>" |
|
|
+ escapeExpression(lambda((data && data.key), depth0)) |
|
|
+ escapeExpression(lambda((data && data.key), depth0)) |
|
|
+ "</td>\n <td>" |
|
|
|
|
|
|
|
|
+ "</td>\r\n <td>" |
|
|
+ escapeExpression(lambda((depth0 != null ? depth0.description : depth0), depth0)) |
|
|
+ escapeExpression(lambda((depth0 != null ? depth0.description : depth0), depth0)) |
|
|
+ "</td>\n <td>" |
|
|
|
|
|
|
|
|
+ "</td>\r\n <td>" |
|
|
+ escapeExpression(lambda((depth0 != null ? depth0.type : depth0), depth0)) |
|
|
+ escapeExpression(lambda((depth0 != null ? depth0.type : depth0), depth0)) |
|
|
+ "</td>\n </tr>\n"; |
|
|
|
|
|
|
|
|
+ "</td>\r\n </tr>\r\n"; |
|
|
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { |
|
|
},"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 width='15%' class='code'>" |
|
|
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<td width='15%' class='code'>" |
|
|
+ escapeExpression(((helper = (helper = helpers.code || (depth0 != null ? depth0.code : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"code","hash":{},"data":data}) : helper))) |
|
|
+ escapeExpression(((helper = (helper = helpers.code || (depth0 != null ? depth0.code : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"code","hash":{},"data":data}) : helper))) |
|
|
+ "</td>\n<td>"; |
|
|
|
|
|
|
|
|
+ "</td>\r\n<td>"; |
|
|
stack1 = ((helper = (helper = helpers.message || (depth0 != null ? depth0.message : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"message","hash":{},"data":data}) : helper)); |
|
|
stack1 = ((helper = (helper = helpers.message || (depth0 != null ? depth0.message : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"message","hash":{},"data":data}) : helper)); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
buffer += "</td>\n<td width='50%'><span class=\"model-signature\" /></td>\n<td class=\"headers\">\n <table>\n <tbody>\n"; |
|
|
|
|
|
|
|
|
buffer += "</td>\r\n<td width='50%'><span class=\"model-signature\" /></td>\r\n<td class=\"headers\">\r\n <table>\r\n <tbody>\r\n"; |
|
|
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.headers : depth0), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}); |
|
|
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.headers : depth0), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}); |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
if (stack1 != null) { buffer += stack1; } |
|
|
return buffer + " </tbody>\n </table>\n</td>"; |
|
|
|
|
|
|
|
|
return buffer + " </tbody>\r\n </table>\r\n</td>"; |
|
|
},"useData":true}); |
|
|
},"useData":true}); |
|
|
'use strict';
|
|
|
'use strict';
|
|
|
|
|
|
|
|
@@ -1341,6 +1342,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({ |
|
|
this.auths = opts.auths;
|
|
|
this.auths = opts.auths;
|
|
|
this.parentId = this.model.parentId;
|
|
|
this.parentId = this.model.parentId;
|
|
|
this.nickname = this.model.nickname;
|
|
|
this.nickname = this.model.nickname;
|
|
|
|
|
|
this.model.encodedParentId = encodeURIComponent(this.parentId);
|
|
|
return this;
|
|
|
return this;
|
|
|
},
|
|
|
},
|
|
|
|
|
|
|
|
@@ -1715,9 +1717,6 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({ |
|
|
if (window.authorizations) {
|
|
|
if (window.authorizations) {
|
|
|
window.authorizations.apply(obj);
|
|
|
window.authorizations.apply(obj);
|
|
|
}
|
|
|
}
|
|
|
if (params === 0) {
|
|
|
|
|
|
obj.data.append('fake', 'true');
|
|
|
|
|
|
}
|
|
|
|
|
|
jQuery.ajax(obj);
|
|
|
jQuery.ajax(obj);
|
|
|
return false;
|
|
|
return false;
|
|
|
// end of file-upload nastiness
|
|
|
// end of file-upload nastiness
|
|
|