# oneOf with Nested oneOf

`GET /oneof-nested`

Tags: `oneOf`

Schema:
```yaml
type: object
properties:
  oneOfProperty:
    oneOf:
      - type: object
        properties:
          nestedOneOfProp:
            oneOf:
              - type: string
              - type: number
      - type: boolean
```

## Responses

### 200

Successful response

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

Schema: `object`

- `oneOfProperty` (one of)
  - Exactly one of these options:
    - Option 1 (object)
      - `oneOfProperty.nestedOneOfProp` (one of)
        - Exactly one of these options:
          - Option 1 (string)
          - Option 2 (number)
    - Option 2 (boolean)
