{"openapi":"3.1.0","info":{"title":"Accentuation Service","version":"0.1.0"},"paths":{"/v1/process":{"post":{"summary":"V1 Process","operationId":"v1_process_v1_process_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/yoficate":{"post":{"summary":"V1 Yoficate","operationId":"v1_yoficate_v1_yoficate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/metrics":{"get":{"summary":"Metrics","description":"Lightweight system metrics — reads /proc, no external deps.\nReturns current values + history (last 10 min, persisted to file).","operationId":"metrics_v1_metrics_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"},"ProcessRequest":{"properties":{"text":{"type":"string","title":"Text"},"stress_format":{"type":"string","pattern":"^(combining|plus|none)$","title":"Stress Format","default":"combining"},"preserve_existing":{"type":"boolean","title":"Preserve Existing","default":false},"yoficate":{"type":"boolean","title":"Yoficate","default":true},"name_phonetics":{"type":"boolean","title":"Name Phonetics","default":true},"custom_dict":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Custom Dict"}},"type":"object","required":["text"],"title":"ProcessRequest"},"ProcessResponse":{"properties":{"result":{"type":"string","title":"Result"},"processing_ms":{"type":"integer","title":"Processing Ms"}},"type":"object","required":["result","processing_ms"],"title":"ProcessResponse"},"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"}}}}