{
  "openapi": "3.1.0",
  "info": {
    "title": "Finny Public Discovery",
    "version": "0.1.0",
    "summary": "Public, unauthenticated discovery endpoints for Finny.",
    "description": "This OpenAPI document describes public agent-readable resources. It does not expose private receipt data or checkout operations.",
    "contact": {
      "email": "hallo@fnny.app"
    }
  },
  "servers": [
    {
      "url": "https://fnny.app"
    }
  ],
  "paths": {
    "/llms.txt": {
      "get": {
        "summary": "Short LLM overview",
        "operationId": "getLlmsTxt",
        "responses": {
          "200": {
            "description": "Text response",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "summary": "Expanded LLM overview",
        "operationId": "getLlmsFullTxt",
        "responses": {
          "200": {
            "description": "Text response",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/pricing.md": {
      "get": {
        "summary": "Machine-readable pricing",
        "operationId": "getPricingMarkdown",
        "responses": {
          "200": {
            "description": "Text response",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/auth.md": {
      "get": {
        "summary": "Agent authentication notes",
        "operationId": "getAuthMarkdown",
        "responses": {
          "200": {
            "description": "Text response",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/agent/register": {
      "get": {
        "summary": "Agent registration instructions",
        "operationId": "getAgentRegistration",
        "responses": {
          "200": {
            "description": "Text response",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/api-catalog": {
      "get": {
        "summary": "API catalog linkset",
        "operationId": "getApiCatalog",
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/linkset+json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/agent-skills/index.json": {
      "get": {
        "summary": "Agent skills discovery index",
        "operationId": "getAgentSkillsIndex",
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/mcp/server-card.json": {
      "get": {
        "summary": "MCP server card",
        "operationId": "getMcpServerCard",
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/mcp": {
      "post": {
        "summary": "Public MCP JSON-RPC endpoint",
        "operationId": "postMcp",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    }
  }
}