# oneOf with $ref to allOf-composed schemas in requestBody

`POST /oneof-ref-allof-requestbody`

Tags: `oneOf`

Reproduces issue #1241: a requestBody schema that is `oneOf` two `$ref`s,
where each ref resolves to an `allOf` that extends a shared base schema.
All composed properties (from the base and the extension) should be visible
in the rendered request body section.

Schema:
```yaml
requestBody:
  content:
    application/json:
      schema:
        oneOf:
          - $ref: '#/components/schemas/UploadRequest'
          - $ref: '#/components/schemas/UploadRequestTemplate'
components:
  schemas:
    UploadRequest:
      allOf:
        - $ref: '#/components/schemas/UploadRequestTemplate'
        - type: object
          required: [contentType]
          properties:
            contentType:
              type: string
              enum: [text/plain, text/html]
    UploadRequestTemplate:
      type: object
      required: [content, notificationChannel, subject, templateName]
      properties:
        notificationChannel:
          type: string
          example: email
        templateName:
          type: string
        subject:
          type: string
        content:
          type: string
```

## Request body (required)

### Content type: `application/json`

Schema: `one of`

- Exactly one of these options:
  - Option 1: UploadRequest (object)
    A concrete upload request that extends `UploadRequestTemplate` with a required `contentType`.
    - `notificationChannel` (string, required, example: `email`)
    - `templateName` (string, required)
    - `subject` (string, required)
    - `content` (string, required)
    - `contentType` (string, required, possible values: `text/plain`, `text/html`)
      MIME type of the upload content
  - Option 2: UploadRequestTemplate (object)
    The template variant of an upload request, without a fixed `contentType`.
    - `notificationChannel` (string, required, example: `email`)
    - `templateName` (string, required)
    - `subject` (string, required)
    - `content` (string, required)

## Responses

### 200

Successful response
