{
  "openapi": "3.0.3",
  "info": {
    "title": "Samed Yeşil Portfolio API",
    "version": "1.0.0",
    "description": "Public read-only portfolio content for Hacı Samed Yeşil (Samed Yeşil). No credential is required. The bearer token value \"public\" is not a secret and grants the same access as an unauthenticated request.",
    "contact": {
      "name": "Hacı Samed Yeşil",
      "email": "hacisyesil@gmail.com",
      "url": "https://samedyesil.com.tr"
    }
  },
  "servers": [
    {
      "url": "https://samedyesil.com.tr"
    }
  ],
  "tags": [
    { "name": "portfolio" },
    { "name": "health" }
  ],
  "paths": {
    "/api/portfolio.json": {
      "get": {
        "operationId": "getPortfolio",
        "tags": ["portfolio"],
        "summary": "Public portfolio document",
        "security": [],
        "responses": {
          "200": {
            "description": "Portfolio JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/health.json": {
      "get": {
        "operationId": "getHealth",
        "tags": ["health"],
        "summary": "Health check",
        "security": [],
        "responses": {
          "200": {
            "description": "Service is reachable",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": { "type": "string", "example": "ok" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsTxt",
        "summary": "Short agent briefing",
        "security": [],
        "responses": {
          "200": {
            "description": "llms.txt",
            "content": {
              "text/plain": {
                "schema": { "type": "string" }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getLlmsFull",
        "summary": "Full agent briefing",
        "security": [],
        "responses": {
          "200": {
            "description": "llms-full.txt",
            "content": {
              "text/plain": {
                "schema": { "type": "string" }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "publicBearer": {
        "type": "http",
        "scheme": "bearer",
        "description": "Optional. Token value \"public\" is published and is not a credential. Requests without Authorization succeed."
      }
    }
  }
}
