diff --git a/src/core/components/response.jsx b/src/core/components/response.jsx index 95602c64..9d30849d 100644 --- a/src/core/components/response.jsx +++ b/src/core/components/response.jsx @@ -122,10 +122,10 @@ export default class Response extends React.Component { - {specSelectors.isOAS3() ?
{name}
+ { description ?
Operation `{targetOp}`
Parameters {padString(0, JSON.stringify(parameters, null, 2)) || "{}"}
@@ -30,6 +35,7 @@ function padString(n, string) {
}
OperationLink.propTypes = {
+ getComponent: PropTypes.func.isRequired,
link: ImPropTypes.orderedMap.isRequired,
name: PropTypes.String
}
diff --git a/src/style/_layout.scss b/src/style/_layout.scss
index b99064d1..9ee357f0 100644
--- a/src/style/_layout.scss
+++ b/src/style/_layout.scss
@@ -522,6 +522,22 @@
}
}
+.response-col_links
+{
+ padding-left: 2em;
+ max-width: 40em;
+ font-size: 14px;
+
+ @include text_body();
+
+ .response-undocumented
+ {
+ font-size: 11px;
+
+ @include text_code(#999);
+ }
+}
+
.response-col_description__inner
{
span
diff --git a/src/style/_table.scss b/src/style/_table.scss
index cfec861a..7f065529 100644
--- a/src/style/_table.scss
+++ b/src/style/_table.scss
@@ -52,7 +52,8 @@ table
&:first-of-type
{
- width: 20%;
+ max-width: 20%;
+ min-width: 6em;
padding: 10px 0;
}
}