openapi: 3.2.0
jsonSchemaDialect: https://spec.openapis.org/oas/3.2/dialect/2025-09-17
info:
  title: Knife4j OAS 3.2 minimal example
  summary: Handwritten specification fixture, not springdoc output
  description: Labeled OpenAPI 3.2.0 specification fixture. This is not generated by springdoc 1.8.0, 2.8.9, or 3.0.3.
  version: 1.0.0
paths:
  /health:
    get:
      operationId: getHealth
      summary: Read service health
      responses:
        "200":
          description: Service is healthy
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                properties:
                  status:
                    type: string
                    const: ok
                  note:
                    type:
                      - string
                      - "null"
              examples:
                healthy:
                  dataValue:
                    status: ok
                    note: null
    query:
      operationId: queryHealth
      summary: Query service health
      responses:
        "200":
          description: Health events
          content:
            text/event-stream:
              itemSchema:
                type: object
                properties:
                  data:
                    type: string
    additionalOperations:
      COPY:
        operationId: copyHealth
        summary: Copy health snapshot
        responses:
          "200":
            description: Copied
