{"openapi":"3.1.0","info":{"title":"nCare Gateway","description":"Public-facing API gateway for nCare healthcare platform","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health","description":"Liveness probe. Always returns 200 if the process is alive.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/ready":{"get":{"summary":"Ready","description":"Readiness probe. Checks that critical dependencies are available.","operationId":"ready_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadyResponse"}}}}}}},"/.well-known/jwks.json":{"get":{"summary":"Get Jwks","description":"Serve the JWKS public key set.","operationId":"get_jwks__well_known_jwks_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/callbacks/veradigm/authorize":{"get":{"tags":["callbacks"],"summary":"Authorize Callback","description":"Handle Veradigm OAuth authorization code redirect.","operationId":"authorize_callback_callbacks_veradigm_authorize_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"error_description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Description"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/callbacks/veradigm/token":{"post":{"tags":["callbacks"],"summary":"Token Callback","description":"Handle Veradigm token exchange callback.","operationId":"token_callback_callbacks_veradigm_token_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/veradigm":{"post":{"tags":["webhooks"],"summary":"Veradigm Webhook","description":"Receive and forward Veradigm webhook events after signature verification.","operationId":"veradigm_webhook_webhooks_veradigm_post","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"},"HealthResponse":{"properties":{"status":{"type":"string","title":"Status"},"service":{"type":"string","title":"Service"},"environment":{"type":"string","title":"Environment"}},"type":"object","required":["status","service","environment"],"title":"HealthResponse"},"ReadyResponse":{"properties":{"status":{"type":"string","title":"Status"},"checks":{"additionalProperties":{"type":"string"},"type":"object","title":"Checks"}},"type":"object","required":["status","checks"],"title":"ReadyResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}