Skip to content

Commit eb70c73

Browse files
committed
Merge pull request #1282 from nprdm/develop_2.0
Fixes #1233
2 parents 688244f + 831a7ae commit eb70c73

File tree

8 files changed

+29
-9
lines changed

8 files changed

+29
-9
lines changed

dist/css/print.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,9 @@
10691069
.swagger-section .swagger-ui-wrap form.form_box p strong {
10701070
color: black;
10711071
}
1072+
.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
1073+
padding-bottom: 0;
1074+
}
10721075
.swagger-section .title {
10731076
font-style: bold;
10741077
}

dist/css/screen.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,9 @@
10691069
.swagger-section .swagger-ui-wrap form.form_box p strong {
10701070
color: black;
10711071
}
1072+
.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
1073+
padding-bottom: 0;
1074+
}
10721075
.swagger-section .title {
10731076
font-style: bold;
10741077
}

dist/swagger-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ this["Handlebars"]["templates"]["status_code"] = Handlebars.template({"1":functi
10861086
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
10871087
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<td width='15%' class='code'>"
10881088
+ 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)))
1089-
+ "</td>\n<td>";
1089+
+ "</td>\n<td class=\"markdown\">";
10901090
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));
10911091
if (stack1 != null) { buffer += stack1; }
10921092
buffer += "</td>\n<td width='50%'><span class=\"model-signature\" /></td>\n<td class=\"headers\">\n <table>\n <tbody>\n";

dist/swagger-ui.min.js

Lines changed: 11 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/html/css/print.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,9 @@
10691069
.swagger-section .swagger-ui-wrap form.form_box p strong {
10701070
color: black;
10711071
}
1072+
.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
1073+
padding-bottom: 0;
1074+
}
10721075
.swagger-section .title {
10731076
font-style: bold;
10741077
}

src/main/html/css/screen.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,9 @@
10691069
.swagger-section .swagger-ui-wrap form.form_box p strong {
10701070
color: black;
10711071
}
1072+
.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
1073+
padding-bottom: 0;
1074+
}
10721075
.swagger-section .title {
10731076
font-style: bold;
10741077
}

src/main/less/specs.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,10 @@
10851085
}
10861086
}
10871087
}
1088+
1089+
.operation-status td.markdown > p:last-child {
1090+
padding-bottom: 0;
1091+
}
10881092
}
10891093

10901094
}

src/main/template/status_code.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<td width='15%' class='code'>{{code}}</td>
2-
<td>{{{message}}}</td>
2+
<td class="markdown">{{{message}}}</td>
33
<td width='50%'><span class="model-signature" /></td>
44
<td class="headers">
55
<table>

0 commit comments

Comments
 (0)