Kind: Class
Source: atloria-monorepo/packages/ui-core/src/components/api-explorer/RequestPanel.ts
Extends: ExplorerElement
Methods
| Method | Signature | Returns |
|---|---|---|
connectedCallback | connectedCallback() | void |
disconnectedCallback | disconnectedCallback() | void |
updated | updated(changedProperties: Map<string, any>) | void |
render | render() | void |
Properties
| Property | Type |
|---|---|
styles | any |
strings | ExplorerStrings |
endpoint | APIEndpoint |
environment | Environment |
globalAuthToken | string |
paramOptionsUrl | string |
operationId | string |
readerApiKey | string |
schemas | Record<string, unknown> |
presetValues | PresetValues |
Where it refuses work
AtloriaRequestPanelstops the work with an early return whenraw === undefined || raw === null.AtloriaRequestPanelstops the work with an early return whentypeof raw === 'boolean'.AtloriaRequestPanelstops the work with an early return whentypeof raw === 'object'.AtloriaRequestPanelstops the work with an early return when!this.endpoint.AtloriaRequestPanelstops the work with an early return when!source || !this.paramOptionsUrl || !this.operationId.AtloriaRequestPanelstops the work with an early return whenArray.isArray(schema.enum) && schema.enum.length > 0.
When something fails
AtloriaRequestPanelhandles failure in 3 places: it logs it and continues in 2, and discards it silently in 1. A failure discarded silently leaves no trace for whoever debugs this later.
Was this page helpful?