diff --git a/src/components/api-request.js b/src/components/api-request.js index 97784e06..53316278 100644 --- a/src/components/api-request.js +++ b/src/components/api-request.js @@ -403,6 +403,9 @@ export default class ApiRequest extends LitElement { allow-schema-description-expand-toggle = "${this.allowSchemaDescriptionExpandToggle}", schema-hide-read-only = "${this.schemaHideReadOnly.includes(this.method)}" schema-hide-write-only = "${this.schemaHideWriteOnly.includes(this.method)}" + exportparts = "btn:btn, btn-fill:btn-fill, btn-outline:btn-outline, btn-try:btn-try, btn-clear:btn-clear, btn-clear-resp:btn-clear-resp, + file-input:file-input, textbox:textbox, textbox-param:textbox-param, textarea:textarea, textarea-param:textarea-param, + anchor:anchor, anchor-param-example:anchor-param-example" > ` } @@ -649,6 +652,7 @@ export default class ApiRequest extends LitElement { allow-schema-description-expand-toggle = "${this.allowSchemaDescriptionExpandToggle}", schema-hide-read-only = "${this.schemaHideReadOnly}" schema-hide-write-only = "${this.schemaHideWriteOnly}" + exportparts = "schema-description:schema-description, schema-multiline-toggle:schema-multiline-toggle" > `; } else if (this.schemaStyle === 'tree') { @@ -663,6 +667,7 @@ export default class ApiRequest extends LitElement { allow-schema-description-expand-toggle = "${this.allowSchemaDescriptionExpandToggle}", schema-hide-read-only = "${this.schemaHideReadOnly}" schema-hide-write-only = "${this.schemaHideWriteOnly}" + exportparts = "schema-description:schema-description, schema-multiline-toggle:schema-multiline-toggle" > `; } diff --git a/src/components/schema-table.js b/src/components/schema-table.js index ed1be1b8..fa984b73 100644 --- a/src/components/schema-table.js +++ b/src/components/schema-table.js @@ -92,7 +92,7 @@ export default class SchemaTable extends LitElement { ${this.allowSchemaDescriptionExpandToggle === 'true' ? html`
- ${this.data?.['::description'] - ? html` ${unsafeHTML(marked(this.data['::description'] || ''))}` + ? html` ${unsafeHTML(marked(this.data['::description'] || ''))}` : '' }