openapi: 3.0.0
info:
  title: Body Test API
  version: 1.0.0
paths:
  /test:
    post:
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                - type: string
                - type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string