Kind: Class
Source: atloria-monorepo/packages/ui-core/src/components/api-explorer/APIExplorer.ts
Extends: ExplorerElement
Methods
| Method | Signature | Returns |
|---|---|---|
willUpdate | `willUpdate(changed: Map<string | number |
connectedCallback | connectedCallback() | void |
disconnectedCallback | disconnectedCallback() | void |
render | render() | void |
Properties
| Property | Type |
|---|---|
styles | any |
strings | ExplorerStrings |
spec | OpenAPISpec |
endpoints | APIEndpoint[] |
environments | Environment[] |
mode | `'explorer' |
defaultEndpoint | string |
proxyUrl | string |
presetBearerToken | string |
readerApiKey | string |
paramOptionsUrl | string |
sendDisabledReason | string |
allowCredentialLogin | any |
getKeyUrl | any |
oauthClientId | any |
oauthRedirectUri | any |
projectKey | any |
Where it refuses work
AtloriaAPIExplorerstops the work withErrorwhenbytes > MAX_PROXY_UPLOAD_BYTES, in 2 places.AtloriaAPIExplorerstops the work withErrorwhen!loginEndpoint— “No login endpoint found”.AtloriaAPIExplorerstops the work withErrorwhen!token— “No token found in login response”.AtloriaAPIExplorerstops the work withErrorwhen!proxied.ok.AtloriaAPIExplorerstops the work withErrorwhen!response.ok.AtloriaAPIExplorerstops the work withOAuth2Errorwhenresponse.error— “provider-error”.
When something fails
AtloriaAPIExplorerhandles failure in 16 places: it logs it and continues in 6, discards it silently in 5, turns it into a return value in 4, and lets it reach the caller in 1. A failure discarded silently leaves no trace for whoever debugs this later.
Was this page helpful?