{
  "openapi": "3.1.0",
  "info": {
    "title": "public-url.com API",
    "version": "1.0.0",
    "description": "public-url.com hosts stable, auth-free public test URLs — permanent resources under /examples/ that any API, AI service, bot or server can download directly. The historical placeholder paths /qr-code-1.jpg and /document.pdf also serve real files.",
    "license": {
      "name": "MIT"
    }
  },
  "servers": [
    {
      "url": "https://public-url.com"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "summary": "Homepage with the public test URL list",
        "responses": {
          "200": {
            "description": "Homepage HTML"
          }
        }
      }
    },
    "/spec": {
      "get": {
        "summary": "This OpenAPI specification"
      }
    },
    "/qr-code-1.jpg": {
      "get": {
        "summary": "Historical placeholder path — a real QR code image"
      }
    },
    "/document.pdf": {
      "get": {
        "summary": "Historical placeholder path — a real tiny PDF"
      }
    },
    "/examples/{file}": {
      "get": {
        "summary": "Stable public test resource",
        "parameters": [
          {
            "$ref": "#/components/parameters/ExampleFile"
          }
        ],
        "responses": {
          "200": {
            "description": "The file contents"
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "ExampleFile": {
        "name": "file",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        },
        "description": "One of: image.jpg, image.png, image.webp, document.pdf, data.json, data.csv, data.xml, audio.mp3, openapi.json"
      }
    }
  }
}
