# Basic Discriminator without Mapping

`GET /discriminator-basic`

Tags: `discriminator`

Schema:
```yaml
type: object
discriminator: 
  propertyName: type
properties:
  type:
    type: string
oneOf:
  - $ref: '#/components/schemas/TypeA'
  - $ref: '#/components/schemas/TypeB'
```

## Responses

### 200

Successful response

#### Content type: `application/json`

Schema: `one of`

- Discriminator: `type`
- Exactly one of these options:
  - Option 1: TypeA (object)
    A variant carrying a single string property `propA`.
    - `type` (string, required, possible values: `typeA`)
    - `propA` (string)
  - Option 2: TypeB (object)
    A variant carrying a numeric property `propB`.
    - `type` (string, required, possible values: `typeB`)
    - `propB` (number)
