diff --git a/.idea/dictionaries/richter.xml b/.idea/dictionaries/richter.xml
new file mode 100644
index 0000000000..9a7ca3ec4a
--- /dev/null
+++ b/.idea/dictionaries/richter.xml
@@ -0,0 +1,3 @@
+').text(JSON.stringify(JSON.parse(data.responseText), null, 2));
pre = $('
').text(this.formatXml(data.responseText));
pre = $('').append(code);
}
@@ -1559,11 +1559,11 @@ function program12(depth0,data) {
})(Backbone.View);
StatusCodeView = (function(_super) {
-
__extends(StatusCodeView, _super);
function StatusCodeView() {
- return StatusCodeView.__super__.constructor.apply(this, arguments);
+ _ref5 = StatusCodeView.__super__.constructor.apply(this, arguments);
+ return _ref5;
}
StatusCodeView.prototype.initialize = function() {};
@@ -1584,11 +1584,11 @@ function program12(depth0,data) {
})(Backbone.View);
ParameterView = (function(_super) {
-
__extends(ParameterView, _super);
function ParameterView() {
- return ParameterView.__super__.constructor.apply(this, arguments);
+ _ref6 = ParameterView.__super__.constructor.apply(this, arguments);
+ return _ref6;
}
ParameterView.prototype.initialize = function() {};
@@ -1658,11 +1658,11 @@ function program12(depth0,data) {
})(Backbone.View);
SignatureView = (function(_super) {
-
__extends(SignatureView, _super);
function SignatureView() {
- return SignatureView.__super__.constructor.apply(this, arguments);
+ _ref7 = SignatureView.__super__.constructor.apply(this, arguments);
+ return _ref7;
}
SignatureView.prototype.events = {
@@ -1727,11 +1727,11 @@ function program12(depth0,data) {
})(Backbone.View);
ContentTypeView = (function(_super) {
-
__extends(ContentTypeView, _super);
function ContentTypeView() {
- return ContentTypeView.__super__.constructor.apply(this, arguments);
+ _ref8 = ContentTypeView.__super__.constructor.apply(this, arguments);
+ return _ref8;
}
ContentTypeView.prototype.initialize = function() {};
diff --git a/html/admin/js/lib/swagger-ui.min.js b/html/admin/js/lib/swagger-ui.min.js
index 470da55a58..d1533a7e25 100644
--- a/html/admin/js/lib/swagger-ui.min.js
+++ b/html/admin/js/lib/swagger-ui.min.js
@@ -1 +1 @@
-$(function(){$.fn.vAlign=function(){return this.each(function(c){var a=$(this).height();var d=$(this).parent().height();var b=(d-a)/2;$(this).css("margin-top",b)})};$.fn.stretchFormtasticInputWidthToParent=function(){return this.each(function(b){var d=$(this).closest("form").innerWidth();var c=parseInt($(this).closest("form").css("padding-left"),10)+parseInt($(this).closest("form").css("padding-right"),10);var a=parseInt($(this).css("padding-left"),10)+parseInt($(this).css("padding-right"),10);$(this).css("width",d-c-a)})};$("form.formtastic li.string input, form.formtastic textarea").stretchFormtasticInputWidthToParent();$("ul.downplayed li div.content p").vAlign();$("form.sandbox").submit(function(){var a=true;$(this).find("input.required").each(function(){$(this).removeClass("error");if($(this).val()==""){$(this).addClass("error");$(this).wiggle();a=false}});return a})});function clippyCopiedCallback(b){$("#api_key_copied").fadeIn().delay(1000).fadeOut()}function log(){if(window.console){console.log.apply(console,arguments)}}if(Function.prototype.bind&&console&&typeof console.log=="object"){["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(a){console[a]=this.bind(console[a],console)},Function.prototype.call)}var Docs={shebang:function(){var b=$.param.fragment().split("/");b.shift();switch(b.length){case 1:var d="resource_"+b[0];Docs.expandEndpointListForResource(b[0]);$("#"+d).slideto({highlight:false});break;case 2:Docs.expandEndpointListForResource(b[0]);$("#"+d).slideto({highlight:false});var c=b.join("_");var a=c+"_content";Docs.expandOperation($("#"+a));$("#"+c).slideto({highlight:false});break}},toggleEndpointListForResource:function(b){var a=$("li#resource_"+Docs.escapeResourceName(b)+" ul.endpoints");if(a.is(":visible")){Docs.collapseEndpointListForResource(b)}else{Docs.expandEndpointListForResource(b)}},expandEndpointListForResource:function(b){var b=Docs.escapeResourceName(b);if(b==""){$(".resource ul.endpoints").slideDown();return}$("li#resource_"+b).addClass("active");var a=$("li#resource_"+b+" ul.endpoints");a.slideDown()},collapseEndpointListForResource:function(b){var b=Docs.escapeResourceName(b);$("li#resource_"+b).removeClass("active");var a=$("li#resource_"+b+" ul.endpoints");a.slideUp()},expandOperationsForResource:function(a){Docs.expandEndpointListForResource(a);if(a==""){$(".resource ul.endpoints li.operation div.content").slideDown();return}$("li#resource_"+Docs.escapeResourceName(a)+" li.operation div.content").each(function(){Docs.expandOperation($(this))})},collapseOperationsForResource:function(a){Docs.expandEndpointListForResource(a);$("li#resource_"+Docs.escapeResourceName(a)+" li.operation div.content").each(function(){Docs.collapseOperation($(this))})},escapeResourceName:function(a){return a.replace(/[!"#$%&'()*+,.\/:;<=>?@\[\\\]\^`{|}~]/g,"\\$&")},expandOperation:function(a){a.slideDown()},collapseOperation:function(a){a.slideUp()}};(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_readonly_required=b(function(g,m,f,l,k){this.compilerInfo=[2,">= 1.0.0-rc.3"];f=f||g.helpers;k=k||{};var i="",d,h="function",j=this.escapeExpression,n=this;function e(r,q){var o="",p;o+="\n \n ";return o}function c(r,q){var o="",p;o+="\n ";if(p=f.defaultValue){p=p.call(r,{hash:{},data:q})}else{p=r.defaultValue;p=typeof p===h?p.apply(r):p}o+=j(p)+"\n ";return o}i+="';if(c=d.sampleJSON){c=c.call(k,{hash:{},data:i})}else{c=k.sampleJSON;c=typeof c===f?c.apply(k):c}g+=h(c)+'
\n \n ";if(u=g.notes){u=u.call(w,{hash:{},data:v})}else{u=w.notes;u=typeof u===i?u.apply(w):u}if(u||u===0){t+=u}t+="
\n\n
Parameter | \nValue | \nDescription | \nData Type | \n
---|
HTTP Status Code | \nReason | \n
---|
").text(this.formatXml(q.responseText));r=$('').append(p)}o=r;$(".response_code",$(this.el)).html(""+q.status+"");$(".response_body",$(this.el)).html(o);$(".response_headers",$(this.el)).html("
"+q.getAllResponseHeaders()+"");$(".response",$(this.el)).slideDown();$(".response_hider",$(this.el)).show();$(".response_throbber",$(this.el)).hide();return hljs.highlightBlock($(".response_body",$(this.el))[0])};l.prototype.toggleOperationContent=function(){var n;n=$("#"+Docs.escapeResourceName(this.model.resourceName)+"_"+this.model.nickname+"_"+this.model.httpMethod+"_"+this.model.number+"_content");if(n.is(":visible")){return Docs.collapseOperation(n)}else{return Docs.expandOperation(n)}};return l})(Backbone.View);i=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.initialize=function(){};l.prototype.render=function(){var n;n=this.template();$(this.el).html(n(this.model));return this};l.prototype.template=function(){return Handlebars.templates.status_code};return l})(Backbone.View);e=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.initialize=function(){};l.prototype.render=function(){var q,o,n,r,p;if(this.model.paramType==="body"){this.model.isBody=true}if(this.model.dataType==="file"){this.model.isFile=true}p=this.template();$(this.el).html(p(this.model));n={sampleJSON:this.model.sampleJSON,isParam:true,signature:this.model.signature};if(this.model.sampleJSON){r=new k({model:n,tagName:"div"});$(".model-signature",$(this.el)).append(r.render().el)}else{$(".model-signature",$(this.el)).html(this.model.signature)}q={isParam:false};if(this.model.supportedContentTypes){q.produces=this.model.supportedContentTypes}if(this.model.produces){q.produces=this.model.produces}o=new f({model:q});$(".content-type",$(this.el)).append(o.render().el);return this};l.prototype.template=function(){if(this.model.isList){return Handlebars.templates.param_list}else{if(this.options.readOnly){if(this.model.required){return Handlebars.templates.param_readonly_required}else{return Handlebars.templates.param_readonly}}else{if(this.model.required){return Handlebars.templates.param_required}else{return Handlebars.templates.param}}}};return l})(Backbone.View);k=(function(m){d(l,m);function l(){return l.__super__.constructor.apply(this,arguments)}l.prototype.events={"click a.description-link":"switchToDescription","click a.snippet-link":"switchToSnippet","mousedown .snippet":"snippetToTextArea"};l.prototype.initialize=function(){};l.prototype.render=function(){var n;n=this.template();$(this.el).html(n(this.model));this.switchToDescription();this.isParam=this.model.isParam;if(this.isParam){$(".notice",$(this.el)).text("Click to set as parameter value")}return this};l.prototype.template=function(){return Handlebars.templates.signature};l.prototype.switchToDescription=function(n){if(n!=null){n.preventDefault()}$(".snippet",$(this.el)).hide();$(".description",$(this.el)).show();$(".description-link",$(this.el)).addClass("selected");return $(".snippet-link",$(this.el)).removeClass("selected")};l.prototype.switchToSnippet=function(n){if(n!=null){n.preventDefault()}$(".description",$(this.el)).hide();$(".snippet",$(this.el)).show();$(".snippet-link",$(this.el)).addClass("selected");return $(".description-link",$(this.el)).removeClass("selected")};l.prototype.snippetToTextArea=function(n){var o;if(this.isParam){if(n!=null){n.preventDefault()}o=$("textarea",$(this.el.parentNode.parentNode.parentNode));if($.trim(o.val())===""){return o.val(this.model.sampleJSON)}}};return l})(Backbone.View);f=(function(l){d(m,l);function m(){return m.__super__.constructor.apply(this,arguments)}m.prototype.initialize=function(){};m.prototype.render=function(){var n;n=this.template();$(this.el).html(n(this.model));this.isParam=this.model.isParam;if(this.isParam){$("label[for=contentType]",$(this.el)).text("Parameter content type:")}else{$("label[for=contentType]",$(this.el)).text("Response Content Type")}return this};m.prototype.template=function(){return Handlebars.templates.content_type};return m})(Backbone.View)}).call(this); \ No newline at end of file +$(function(){$.fn.vAlign=function(){return this.each(function(c){var a=$(this).height();var d=$(this).parent().height();var b=(d-a)/2;$(this).css("margin-top",b)})};$.fn.stretchFormtasticInputWidthToParent=function(){return this.each(function(b){var d=$(this).closest("form").innerWidth();var c=parseInt($(this).closest("form").css("padding-left"),10)+parseInt($(this).closest("form").css("padding-right"),10);var a=parseInt($(this).css("padding-left"),10)+parseInt($(this).css("padding-right"),10);$(this).css("width",d-c-a)})};$("form.formtastic li.string input, form.formtastic textarea").stretchFormtasticInputWidthToParent();$("ul.downplayed li div.content p").vAlign();$("form.sandbox").submit(function(){var a=true;$(this).find("input.required").each(function(){$(this).removeClass("error");if($(this).val()==""){$(this).addClass("error");$(this).wiggle();a=false}});return a})});function clippyCopiedCallback(b){$("#api_key_copied").fadeIn().delay(1000).fadeOut()}function log(){if(window.console){console.log.apply(console,arguments)}}if(Function.prototype.bind&&console&&typeof console.log=="object"){["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(a){console[a]=this.bind(console[a],console)},Function.prototype.call)}var Docs={shebang:function(){var b=$.param.fragment().split("/");b.shift();switch(b.length){case 1:var d="resource_"+b[0];Docs.expandEndpointListForResource(b[0]);$("#"+d).slideto({highlight:false});break;case 2:Docs.expandEndpointListForResource(b[0]);$("#"+d).slideto({highlight:false});var c=b.join("_");var a=c+"_content";Docs.expandOperation($("#"+a));$("#"+c).slideto({highlight:false});break}},toggleEndpointListForResource:function(b){var a=$("li#resource_"+Docs.escapeResourceName(b)+" ul.endpoints");if(a.is(":visible")){Docs.collapseEndpointListForResource(b)}else{Docs.expandEndpointListForResource(b)}},expandEndpointListForResource:function(b){var b=Docs.escapeResourceName(b);if(b==""){$(".resource ul.endpoints").slideDown();return}$("li#resource_"+b).addClass("active");var a=$("li#resource_"+b+" ul.endpoints");a.slideDown()},collapseEndpointListForResource:function(b){var b=Docs.escapeResourceName(b);$("li#resource_"+b).removeClass("active");var a=$("li#resource_"+b+" ul.endpoints");a.slideUp()},expandOperationsForResource:function(a){Docs.expandEndpointListForResource(a);if(a==""){$(".resource ul.endpoints li.operation div.content").slideDown();return}$("li#resource_"+Docs.escapeResourceName(a)+" li.operation div.content").each(function(){Docs.expandOperation($(this))})},collapseOperationsForResource:function(a){Docs.expandEndpointListForResource(a);$("li#resource_"+Docs.escapeResourceName(a)+" li.operation div.content").each(function(){Docs.collapseOperation($(this))})},escapeResourceName:function(a){return a.replace(/[!"#$%&'()*+,.\/:;<=>?@\[\\\]\^`{|}~]/g,"\\$&")},expandOperation:function(a){a.slideDown()},collapseOperation:function(a){a.slideUp()}};(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.param_readonly_required=b(function(g,m,f,l,k){this.compilerInfo=[2,">= 1.0.0-rc.3"];f=f||g.helpers;k=k||{};var i="",d,h="function",j=this.escapeExpression,n=this;function e(r,q){var o="",p;o+="\n \n ";return o}function c(r,q){var o="",p;o+="\n ";if(p=f.defaultValue){p=p.call(r,{hash:{},data:q})}else{p=r.defaultValue;p=typeof p===h?p.apply(r):p}o+=j(p)+"\n ";return o}i+="
';if(c=d.sampleJSON){c=c.call(k,{hash:{},data:i})}else{c=k.sampleJSON;c=typeof c===f?c.apply(k):c}g+=h(c)+'
\n \n ";if(u=g.notes){u=u.call(w,{hash:{},data:v})}else{u=w.notes;u=typeof u===i?u.apply(w):u}if(u||u===0){t+=u}t+="
\n\n
Parameter | \nValue | \nDescription | \nData Type | \n
---|
HTTP Status Code | \nReason | \n
---|
").text(this.formatXml(z.responseText));A=$('').append(y)}w=A;$(".response_code",$(this.el)).html(""+z.status+"");$(".response_body",$(this.el)).html(w);$(".response_headers",$(this.el)).html("
"+z.getAllResponseHeaders()+"");$(".response",$(this.el)).slideDown();$(".response_hider",$(this.el)).show();$(".response_throbber",$(this.el)).hide();return hljs.highlightBlock($(".response_body",$(this.el))[0])};u.prototype.toggleOperationContent=function(){var w;w=$("#"+Docs.escapeResourceName(this.model.resourceName)+"_"+this.model.nickname+"_"+this.model.httpMethod+"_"+this.model.number+"_content");if(w.is(":visible")){return Docs.collapseOperation(w)}else{return Docs.expandOperation(w)}};return u})(Backbone.View);m=(function(v){s(u,v);function u(){c=u.__super__.constructor.apply(this,arguments);return c}u.prototype.initialize=function(){};u.prototype.render=function(){var w;w=this.template();$(this.el).html(w(this.model));return this};u.prototype.template=function(){return Handlebars.templates.status_code};return u})(Backbone.View);j=(function(v){s(u,v);function u(){b=u.__super__.constructor.apply(this,arguments);return b}u.prototype.initialize=function(){};u.prototype.render=function(){var z,x,w,A,y;if(this.model.paramType==="body"){this.model.isBody=true}if(this.model.dataType==="file"){this.model.isFile=true}y=this.template();$(this.el).html(y(this.model));w={sampleJSON:this.model.sampleJSON,isParam:true,signature:this.model.signature};if(this.model.sampleJSON){A=new h({model:w,tagName:"div"});$(".model-signature",$(this.el)).append(A.render().el)}else{$(".model-signature",$(this.el)).html(this.model.signature)}z={isParam:false};if(this.model.supportedContentTypes){z.produces=this.model.supportedContentTypes}if(this.model.produces){z.produces=this.model.produces}x=new i({model:z});$(".content-type",$(this.el)).append(x.render().el);return this};u.prototype.template=function(){if(this.model.isList){return Handlebars.templates.param_list}else{if(this.options.readOnly){if(this.model.required){return Handlebars.templates.param_readonly_required}else{return Handlebars.templates.param_readonly}}else{if(this.model.required){return Handlebars.templates.param_required}else{return Handlebars.templates.param}}}};return u})(Backbone.View);h=(function(v){s(u,v);function u(){a=u.__super__.constructor.apply(this,arguments);return a}u.prototype.events={"click a.description-link":"switchToDescription","click a.snippet-link":"switchToSnippet","mousedown .snippet":"snippetToTextArea"};u.prototype.initialize=function(){};u.prototype.render=function(){var w;w=this.template();$(this.el).html(w(this.model));this.switchToDescription();this.isParam=this.model.isParam;if(this.isParam){$(".notice",$(this.el)).text("Click to set as parameter value")}return this};u.prototype.template=function(){return Handlebars.templates.signature};u.prototype.switchToDescription=function(w){if(w!=null){w.preventDefault()}$(".snippet",$(this.el)).hide();$(".description",$(this.el)).show();$(".description-link",$(this.el)).addClass("selected");return $(".snippet-link",$(this.el)).removeClass("selected")};u.prototype.switchToSnippet=function(w){if(w!=null){w.preventDefault()}$(".description",$(this.el)).hide();$(".snippet",$(this.el)).show();$(".snippet-link",$(this.el)).addClass("selected");return $(".description-link",$(this.el)).removeClass("selected")};u.prototype.snippetToTextArea=function(w){var x;if(this.isParam){if(w!=null){w.preventDefault()}x=$("textarea",$(this.el.parentNode.parentNode.parentNode));if($.trim(x.val())===""){return x.val(this.model.sampleJSON)}}};return u})(Backbone.View);i=(function(u){s(v,u);function v(){t=v.__super__.constructor.apply(this,arguments);return t}v.prototype.initialize=function(){};v.prototype.render=function(){var w;w=this.template();$(this.el).html(w(this.model));this.isParam=this.model.isParam;if(this.isParam){$("label[for=contentType]",$(this.el)).text("Parameter content type:")}else{$("label[for=contentType]",$(this.el)).text("Response Content Type")}return this};v.prototype.template=function(){return Handlebars.templates.content_type};return v})(Backbone.View)}).call(this); \ No newline at end of file