openapi: 3.0.0
info:
  title: ACME
  version: 1.0.0

paths:
  /pets:
    post:
      operationId: updatePets
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - type: string
                  enum:
                    - user
                    - superadmin
      responses:
        '200':
          description: ok
