File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export default class SchemaTree extends LitElement {
122
122
}
123
123
124
124
let openBracket , closeBracket ;
125
- if ( Object . keys ( data ) [ 0 ] . startsWith ( 'OPTION' ) ) {
125
+ if ( Object . keys ( data ) [ 0 ] . startsWith ( 'OPTION' ) || Object . keys ( data ) [ 0 ] === 'ANY_OF' || Object . keys ( data ) [ 0 ] === 'ONE_OF' ) {
126
126
openBracket = '' ;
127
127
closeBracket = '' ;
128
128
}
@@ -133,7 +133,7 @@ export default class SchemaTree extends LitElement {
133
133
return html `
134
134
${ openBracket }
135
135
${ data [ ':description' ] ?html `< span class ='obj-descr obj-content-part '> ${ data [ ':description' ] } </ span > ` :'' }
136
- < div class ="inside-bracket obj-content-part " >
136
+ < div class ="${ Object . keys ( data ) [ 0 ] . startsWith ( 'OPTION' ) ? '' : ' inside-bracket' } obj-content-part " >
137
137
${ Object . keys ( data ) . map (
138
138
key => html `
139
139
${ key !== ':description'
You can’t perform that action at this time.
0 commit comments