Problem
docs/API.md is hand-curated and drifts; OpenAPI examples are empty {}.
Why
Auto-generated examples stay in sync with reality for the lifetime of the API.
Outcome
Every Pydantic model has json_schema_extra={"example": ...}. Test enforces completeness.
Acceptance
Files
app/models/outage_dto.py
app/models/payment.py
tests/test_openapi_examples.py (NEW)
Problem
docs/API.mdis hand-curated and drifts; OpenAPI examples are empty{}.Why
Auto-generated examples stay in sync with reality for the lifetime of the API.
Outcome
Every Pydantic model has
json_schema_extra={"example": ...}. Test enforces completeness.Acceptance
/openapi.jsonincludesexampleeverywheredocs/API.mdregenerableFiles
app/models/outage_dto.pyapp/models/payment.pytests/test_openapi_examples.py(NEW)