{
  "openapi": "3.1.0",
  "info": {
    "title": "Klevero açık içerik",
    "version": "1.0",
    "description": "klevero.app'in herkese açık, salt okunur içerikleri: ürün özeti, konu notu arama dizini ve sayfaların Markdown sürümleri. Kimlik doğrulama yok, ücret yok.",
    "contact": {
      "email": "destek@klevero.app"
    }
  },
  "servers": [
    {
      "url": "https://klevero.app"
    }
  ],
  "paths": {
    "/llms.txt": {
      "get": {
        "summary": "Klevero ürün özeti ve sayfa listesi (llms.txt)",
        "operationId": "llmsTxt",
        "responses": {
          "200": {
            "description": "Markdown",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "summary": "Ürün özeti, SSS ve yasal metinler (tam metin)",
        "operationId": "llmsFull",
        "responses": {
          "200": {
            "description": "Markdown",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/notlar/ara.json": {
      "get": {
        "summary": "Konu notu arama dizini",
        "operationId": "notesIndex",
        "description": "seviyeler[i] = [seviye-kodu, ad, stil]; dersler[j] = [seviye indeksi, ders-kodu, ders adı]; konular[k] = [konu adı, ders indeksi, konu-kodu, ünite]. Konu sayfası: /notlar/{seviye-kodu}/{ders-kodu}/{konu-kodu}/",
        "responses": {
          "200": {
            "description": "JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "v": {
                      "type": "integer"
                    },
                    "seviyeler": {
                      "type": "array"
                    },
                    "dersler": {
                      "type": "array"
                    },
                    "konular": {
                      "type": "array"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/notlar/{seviye}/{ders}/{konu}/index.md": {
      "get": {
        "summary": "Bir konu notunun Markdown sürümü (açık kısım)",
        "operationId": "noteMarkdown",
        "parameters": [
          {
            "name": "seviye",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ders",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "konu",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Markdown",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Konu yok"
          }
        }
      }
    }
  }
}
