{
  "openapi": "3.1.0",
  "info": {
    "title": "MARVO public site",
    "version": "1.0.0",
    "description": "Read-only description of the public MARVO studio website. There is no authenticated API."
  },
  "servers": [
    { "url": "https://marvo.games" }
  ],
  "paths": {
    "/": {
      "get": {
        "operationId": "getHomepage",
        "summary": "Studio homepage",
        "responses": {
          "200": {
            "description": "HTML by default. Markdown when the request sends Accept: text/markdown.",
            "content": {
              "text/html": { "schema": { "type": "string" } },
              "text/markdown": { "schema": { "type": "string" } }
            }
          }
        }
      }
    },
    "/health": {
      "get": {
        "operationId": "getHealth",
        "summary": "Public site health",
        "responses": {
          "200": {
            "description": "Site is being served.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": { "type": "string", "const": "ok" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/api-catalog": {
      "get": {
        "operationId": "getApiCatalog",
        "summary": "API catalog (RFC 9727)",
        "responses": {
          "200": {
            "description": "Linkset of public discovery documents.",
            "content": {
              "application/linkset+json": { "schema": { "type": "object" } }
            }
          }
        }
      }
    }
  }
}
