{
  "openapi": "3.1.0",
  "info": {
    "title": "Goa Malmö public feeds",
    "version": "1.0.0",
    "description": "Read-only feeds of happy, source-attributed news about Malmö, Sweden. No authentication required.",
    "contact": { "email": "hej@goamalmo.se" }
  },
  "servers": [{ "url": "https://goamalmo.se" }],
  "paths": {
    "/api/public/rss": {
      "get": {
        "operationId": "getNewsFeed",
        "summary": "Latest happy news about Malmö as RSS 2.0",
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": { "type": "string", "enum": ["sv", "en"], "default": "sv" },
            "description": "Feed language"
          }
        ],
        "responses": {
          "200": {
            "description": "RSS feed; each item has title, link, guid, pubDate, description and source link.",
            "content": { "application/rss+xml": { "schema": { "type": "string" } } }
          }
        }
      }
    },
    "/sitemap.xml": {
      "get": {
        "operationId": "getSitemap",
        "summary": "XML sitemap of all public pages and stories",
        "responses": { "200": { "description": "Sitemap", "content": { "application/xml": { "schema": { "type": "string" } } } } }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getSiteContext",
        "summary": "Full site context in markdown for AI assistants",
        "responses": { "200": { "description": "Markdown", "content": { "text/markdown": { "schema": { "type": "string" } } } } }
      }
    }
  }
}
