fix for #261
This commit is contained in:
5
dist/css/screen.css
vendored
5
dist/css/screen.css
vendored
@@ -1759,29 +1759,24 @@ pre code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.info_title {
|
.info_title {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_description {
|
.info_description {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_tos {
|
.info_tos {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_license {
|
.info_license {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_contact {
|
.info_contact {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
10
dist/swagger-ui.js
vendored
10
dist/swagger-ui.js
vendored
@@ -1775,7 +1775,7 @@ templates['status_code'] = template(function (Handlebars,depth0,helpers,partials
|
|||||||
};
|
};
|
||||||
|
|
||||||
OperationView.prototype.submitOperation = function(e) {
|
OperationView.prototype.submitOperation = function(e) {
|
||||||
var error_free, form, map, o, opts, _i, _len, _ref;
|
var error_free, form, map, o, opts, _i, _j, _len, _len1, _ref, _ref1;
|
||||||
if (e != null) {
|
if (e != null) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
@@ -1806,6 +1806,14 @@ templates['status_code'] = template(function (Handlebars,depth0,helpers,partials
|
|||||||
map[o.name] = o.value;
|
map[o.name] = o.value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
_ref1 = form.find(".body-textarea,.parameter");
|
||||||
|
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
|
||||||
|
o = _ref1[_j];
|
||||||
|
if ((o.value != null) && jQuery.trim(o.value).length > 0) {
|
||||||
|
console.log(o.name + ", " + o.value);
|
||||||
|
map[o.name] = encodeURI(o.value);
|
||||||
|
}
|
||||||
|
}
|
||||||
console.log(map);
|
console.log(map);
|
||||||
opts.responseContentType = $("div select[name=responseContentType]", $(this.el)).val();
|
opts.responseContentType = $("div select[name=responseContentType]", $(this.el)).val();
|
||||||
opts.requestContentType = $("div select[name=parameterContentType]", $(this.el)).val();
|
opts.requestContentType = $("div select[name=parameterContentType]", $(this.el)).val();
|
||||||
|
|||||||
2
dist/swagger-ui.min.js
vendored
2
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -74,6 +74,11 @@ class OperationView extends Backbone.View
|
|||||||
if(o.value? && jQuery.trim(o.value).length > 0)
|
if(o.value? && jQuery.trim(o.value).length > 0)
|
||||||
map[o.name] = o.value
|
map[o.name] = o.value
|
||||||
|
|
||||||
|
for o in form.find(".body-textarea,.parameter")
|
||||||
|
if(o.value? && jQuery.trim(o.value).length > 0)
|
||||||
|
console.log o.name + ", " + o.value
|
||||||
|
map[o.name] = encodeURI(o.value)
|
||||||
|
|
||||||
console.log map
|
console.log map
|
||||||
|
|
||||||
opts.responseContentType = $("div select[name=responseContentType]", $(@el)).val()
|
opts.responseContentType = $("div select[name=responseContentType]", $(@el)).val()
|
||||||
|
|||||||
@@ -1759,29 +1759,24 @@ pre code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.info_title {
|
.info_title {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_description {
|
.info_description {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_tos {
|
.info_tos {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_license {
|
.info_license {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_contact {
|
.info_contact {
|
||||||
padding-left: 25px;
|
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user