{"openapi":"3.1.0","info":{"title":"Webhook Receiver (Multi-Tenant)","description":"Receives, validates and routes webhook events per tenant to Pub/Sub.","version":"2.1.0"},"paths":{"/webhooks/{service}/{tenant_integration_key}/{secret_path}":{"post":{"tags":["webhooks"],"summary":"Receive secure multi-tenant webhook events","operationId":"receive_webhook_webhooks__service___tenant_integration_key___secret_path__post","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}},{"name":"tenant_integration_key","in":"path","required":true,"schema":{"type":"string","title":"Tenant Integration Key"}},{"name":"secret_path","in":"path","required":true,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/{service}/{tenant_integration_key}":{"post":{"tags":["webhooks"],"summary":"Receive secure multi-tenant webhook events","operationId":"receive_webhook_webhooks__service___tenant_integration_key__post","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}},{"name":"tenant_integration_key","in":"path","required":true,"schema":{"type":"string","title":"Tenant Integration Key"}},{"name":"secret_path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["ops"],"summary":"Liveness probe","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Health Get"}}}}}}},"/ready":{"get":{"tags":["ops"],"summary":"Readiness probe","description":"Verify that critical GCP clients/cache are available.","operationId":"ready_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}