openapi: 3.0.0
info:
  title: 'Issue 10591 Enum default value'
  version: latest
paths:
  '/':
    get:
      operationId: operation
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelWithEnumPropertyHavingDefault'
components:
  schemas:
    ModelWithEnumPropertyHavingDefault:
      required:
        - propertyName
      properties:
        propertyName:
          type: string
          default: VALUE
          enum:
            - VALUE
