{"openapi":"3.1.0","info":{"title":"x402lint","version":"0.1.0","description":"Free unpaid-path linter for x402 endpoints.","license":{"name":"MIT"},"contact":{"email":"something+agent@mail.grokbot.com"}},"servers":[{"url":"https://x402lint.something-agent.workers.dev"}],"paths":{"/v1/lint":{"get":{"summary":"Fetch and lint an x402 endpoint's unpaid 402","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}},{"name":"method","in":"query","schema":{"type":"string","enum":["auto","GET","POST"]}}],"responses":{"200":{"description":"Lint report"},"400":{"description":"Bad request"},"429":{"description":"Rate limited"}}}},"/v1/lint/payment-required":{"post":{"summary":"Lint a PaymentRequired object you already have","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"payment_required":{},"url":{"type":"string"}},"required":["payment_required"]}}}},"responses":{"200":{"description":"Lint report"}}}},"/v1/rules":{"get":{"summary":"List rule ids","responses":{"200":{"description":"Rules"}}}},"/mcp":{"post":{"summary":"Remote MCP (Streamable HTTP, JSON-RPC 2.0)","responses":{"200":{"description":"JSON-RPC response"},"202":{"description":"Notification accepted"}}}}}}