{"openapi":"3.0.3","info":{"title":"AMP Authorizer API","version":"0.1.0","description":"Authorization service for AMP requests."},"paths":{"/issuerauthorizer":{"get":{"summary":"Health-style authorizer endpoint","responses":{"200":{"description":"Service response","content":{"text/plain":{"schema":{"type":"string","example":"error"}}}}}},"post":{"summary":"Authorize an AMP request","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthRequest"}}}},"responses":{"200":{"description":"Authorization decision","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationResponse"}}}}}}},"/stats":{"get":{"summary":"Live statistics dashboard","responses":{"200":{"description":"HTML dashboard"}}}},"/stats/ws":{"get":{"summary":"Live statistics WebSocket","responses":{"101":{"description":"WebSocket upgrade"}}}}},"components":{"schemas":{"AuthRequest":{"type":"object","required":["message","signature"],"properties":{"message":{"type":"object"},"signature":{"type":"string","description":"Base64-encoded compact signature"}}},"AuthorizationResponse":{"type":"object","required":["result","error"],"properties":{"result":{"type":"boolean"},"error":{"type":"string"}}}}}}