Skip to content

Commit

Permalink
Fixed nested definitions listing (#2315)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorohova authored Oct 18, 2023
1 parent 6e947bf commit 73bb8aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ export class OperationDetails {
}

if (definition.type instanceof TypeDefinitionPropertyTypeCombination) {
result.push(definition.name);

if (definition.type.combination) {
definition.type.combination.forEach(combinationProperty => {
result.push(combinationProperty["name"]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<!-- /ko -->

<!-- ko if: item.displayAs === 'primitive' -->
<span class="text-monospace" data-bind="text: item, attr: { title: item.name }"></span>
<span class="text-monospace" data-bind="text: item.name, attr: { title: item.name }"></span>
<!-- /ko -->

<!-- /ko -->
Expand Down

0 comments on commit 73bb8aa

Please sign in to comment.