openapi: 3.0.3
info:
  title: Test
  version: "0.1"
paths:
  '/test':
    get:
      summary: Test Get with anyOf
      responses:
        '200':
          description: Successful
          content:
            'application/json':
              schema:
                anyOf:
                  - type: object
                    properties:
                      prop1:
                        type: string
                        description: Other description
                  - type: object
                    properties:
                      prop2:
                        type: string
                  - type: object
                    properties:
                      prop3:
                        type: string