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