Skip to content

Commit

Permalink
Fix exportparts. fix #227
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad committed Feb 6, 2024
1 parent 86dc1a4 commit 8d3a0de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/templates/callback-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function callbackTemplate(callbacks) {
schema-hide-read-only = "${this.schemaHideReadOnly}"
fetch-credentials = "${this.fetchCredentials}"
@scrollToSchemaComponentByName=${v => this.scrollToSchemaComponentByName(v)}
exportparts="btn btn-fill btn-outline btn-try">
exportparts="btn, btn-fill, btn-outline, btn-try">
</api-request>
<api-response
Expand All @@ -49,7 +49,7 @@ export default function callbackTemplate(callbacks) {
active-schema-tab = "${this.defaultSchemaTab}"
schema-expand-level = "${this.schemaExpandLevel}"
@scrollToSchemaComponentByName=${v => this.scrollToSchemaComponentByName(v)}
exportparts = "btn--resp btn-fill--resp btn-outline--resp"
exportparts = "btn--resp, btn-fill--resp, btn-outline--resp"
> </api-response>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/templates/endpoint-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function endpointBodyTemplate(path) {
schema-hide-read-only = "${this.schemaHideReadOnly}"
fetch-credentials = "${this.fetchCredentials}"
@scrollToSchemaComponentByName=${v => this.scrollToSchemaComponentByName(v)}
exportparts="btn btn-fill btn-outline btn-try">
exportparts="btn, btn-fill, btn-outline, btn-try">
</api-request>
</div>
${path.callbacks ? callbackTemplate.call(this, path.callbacks) : ''}
Expand All @@ -124,7 +124,7 @@ function endpointBodyTemplate(path) {
schema-hide-write-only = "${this.schemaHideWriteOnly}"
selected-status = "${Object.keys(path.responses || {})[0] || ''}"
@scrollToSchemaComponentByName=${v => this.scrollToSchemaComponentByName(v)}
exportparts = "btn--resp btn-fill--resp btn-outline--resp"
exportparts = "btn--resp, btn-fill--resp, btn-outline--resp"
> </api-response>
</div>
</div>`;
Expand Down
4 changes: 2 additions & 2 deletions src/templates/expanded-endpoint-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function expandedEndpointBodyTemplate(path, tagName = '') {
schema-hide-read-only = "${this.schemaHideReadOnly}"
fetch-credentials = "${this.fetchCredentials}"
@scrollToSchemaComponentByName=${v => this.scrollToSchemaComponentByName(v)}
exportparts = "btn btn-fill btn-outline btn-try"
exportparts = "btn, btn-fill, btn-outline, btn-try"
> </api-request>
${path.callbacks ? callbackTemplate.call(this, path.callbacks) : ''}
Expand All @@ -84,7 +84,7 @@ export function expandedEndpointBodyTemplate(path, tagName = '') {
schema-hide-write-only = "${this.schemaHideWriteOnly}"
selected-status = "${Object.keys(path.responses || {})[0] || ''}"
@scrollToSchemaComponentByName=${v => this.scrollToSchemaComponentByName(v)}
exportparts = "btn--resp btn-fill--resp btn-outline--resp"
exportparts = "btn--resp, btn-fill--resp, btn-outline--resp"
> </api-response>
</div>
</div>`;
Expand Down

0 comments on commit 8d3a0de

Please sign in to comment.