File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 2929 show-header = "false "
3030 regular-font = 'Open Sans '
3131 mono-font = "Roboto Mono "
32+ default-schema-tab = "example "
3233 > </ rapi-doc >
3334 </ body >
3435</ html >
Original file line number Diff line number Diff line change @@ -193,11 +193,11 @@ export default class ApiRequest extends LitElement {
193193 ${ this . callback === 'true' ? 'CALLBACK REQUEST' : 'REQUEST' }
194194 </ div >
195195 < div >
196- ${ guard ( [ this . parameters ] , ( ) => this . inputParametersTemplate ( 'path' ) ) }
197- ${ guard ( [ this . parameters ] , ( ) => this . inputParametersTemplate ( 'query' ) ) }
196+ ${ guard ( [ this . parameters , this . activeParameterSchemaTabs ] , ( ) => this . inputParametersTemplate ( 'path' ) ) }
197+ ${ guard ( [ this . parameters , this . activeParameterSchemaTabs ] , ( ) => this . inputParametersTemplate ( 'query' ) ) }
198198 ${ this . requestBodyTemplate ( ) }
199- ${ guard ( [ this . parameters ] , ( ) => this . inputParametersTemplate ( 'header' ) ) }
200- ${ guard ( [ this . parameters ] , ( ) => this . inputParametersTemplate ( 'cookie' ) ) }
199+ ${ guard ( [ this . parameters , this . activeParameterSchemaTabs ] , ( ) => this . inputParametersTemplate ( 'header' ) ) }
200+ ${ guard ( [ this . parameters , this . activeParameterSchemaTabs ] , ( ) => this . inputParametersTemplate ( 'cookie' ) ) }
201201 ${ this . allowTry === 'false' ? '' : html `${ this . apiCallTemplate ( ) } ` }
202202 </ div >
203203 </ div >
@@ -246,7 +246,7 @@ export default class ApiRequest extends LitElement {
246246 }
247247 }
248248 } "
249- > ${ v . description || v . summary || v . value } </ a >
249+ > ${ v . value && Array . isArray ( v . value ) ? ( v . value ?. join ( ', ' ) ) : ( v . value || '' ) } </ a >
250250 ${ paramType === 'array' ? '] ' : '' }
251251 ` ) }
252252 `
You can’t perform that action at this time.
0 commit comments