# AtloriaRequestPanel

**Kind:** Class

**Source:** [`atloria-monorepo/packages/ui-core/src/components/api-explorer/RequestPanel.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/ui-core/src/components/api-explorer/RequestPanel.ts#L88)

**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

- `AtloriaRequestPanel` stops the work with an early return when `raw === undefined || raw === null`.
- `AtloriaRequestPanel` stops the work with an early return when `typeof raw === 'boolean'`.
- `AtloriaRequestPanel` stops the work with an early return when `typeof raw === 'object'`.
- `AtloriaRequestPanel` stops the work with an early return when `!this.endpoint`.
- `AtloriaRequestPanel` stops the work with an early return when `!source || !this.paramOptionsUrl || !this.operationId`.
- `AtloriaRequestPanel` stops the work with an early return when `Array.isArray(schema.enum) && schema.enum.length > 0`.

## When something fails

- `AtloriaRequestPanel` handles 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.
