{
  "openapi": "3.1.2",
  "jsonSchemaDialect": "https://spec.openapis.org/oas/3.1/dialect/base",
  "info": {
    "title": "Knife4j OAS 3.1 minimal example",
    "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": {
                    "value": {
                      "status": "ok",
                      "note": null
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
