API HTTP (OpenAPI)
Les contrats OpenAPI de krizaka-users, krizaka-billing et krizaka-notifications.
Each domain service will publish the OpenAPI document of its HTTP surface in its *-api jar
(META-INF/openapi/), and this page will render it — operations, parameters, request and response schemas — with
Fumadocs OpenAPI, so the documentation of a contract is the contract
itself.
What every API already shares
- Errors are
application/problem+jsonwith a stablecodeand therequestId— see Web and Problem Details. - Authentication is a bearer session token verified locally;
/internal/v1/**takes aSERVICEtoken — see Security. - Lists page by key with an opaque
cursorand returnnextCursoruntil the last page.