# Discriminator

**Kind:** Interface

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

Tells a reader which branch of a union they are looking at: the property whose value
decides, and optionally the value → schema map. Without one, a union is only
disambiguated by inspection.

## Properties

| Property | Type |
|---|---|
| `propertyName` | `string` |
| `mapping` | `Record<string, string>` |
