# Discriminator with Subschema Inheriting All Fields (No Extra Fields)

`GET /discriminator-empty-subschema`

Tags: `discriminator`

This schema reproduces a sub-schema that inherits all fields from the parent (via allOf) and does not define any new properties.
Schema:
```yaml
type: object
discriminator: 
  propertyName: type
  mapping:
    EmptyType: '#/components/schemas/EmptyType'
properties:
  type:
    type: string
oneOf:
  - $ref: '#/components/schemas/EmptyType'
```

## Responses

### 200

Successful response

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

Schema: `one of`

- Discriminator: `type`
  - `EmptyType` selects EmptyType
- Exactly one of these options:
  - Option 1: EmptyType (object)
    A variant that inherits all fields from the base schema and adds none of its own.
    - `type` (string)
