Skip to content

Commit

Permalink
Move parameter extension fields from parameters-col_name to parameter…
Browse files Browse the repository at this point in the history
…s-col_description.
  • Loading branch information
jrossignol committed Apr 26, 2024
1 parent 6e1ca3f commit 9eaf126
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/components/parameter-row.jsx
Expand Up @@ -284,8 +284,6 @@ export default class ParameterRow extends Component {
{ isOAS3 && param.get("deprecated") ? "deprecated": null }
</div>
<div className="parameter__in">({ param.get("in") })</div>
{ !showCommonExtensions || !commonExt.size ? null : commonExt.entrySeq().map(([key, v]) => <ParameterExt key={`${key}-${v}`} xKey={key} xVal={v} /> )}
{ !showExtensions || !extensions.size ? null : extensions.entrySeq().map(([key, v]) => <ParameterExt key={`${key}-${v}`} xKey={key} xVal={v} /> )}
</td>

<td className="parameters-col_description">
Expand Down Expand Up @@ -374,6 +372,9 @@ export default class ParameterRow extends Component {
) : null
}

{ !showCommonExtensions || !commonExt.size ? null : commonExt.entrySeq().map(([key, v]) => <ParameterExt key={`${key}-${v}`} xKey={key} xVal={v} /> )}
{ !showExtensions || !extensions.size ? null : extensions.entrySeq().map(([key, v]) => <ParameterExt key={`${key}-${v}`} xKey={key} xVal={v} /> )}

</td>

</tr>
Expand Down

0 comments on commit 9eaf126

Please sign in to comment.