feat(api): define public problem errors, pagination, and retry contract

This commit is contained in:
shira committed 2026-10-05 22:09:36 +03:00
1 parent b2f6e87bfe
commit 565ca94bbb
86 files changed
+8200 -154

No files matched your search

@@ -14,6 +14,10 @@ type Handler interface {
//
// GET /api/v1/healthz
GetHealthz(ctx context.Context) (*HealthResponse, error)
// NewError creates *ProblemStatusCode from error returned by handler.
//
// Used for common default response.
NewError(ctx context.Context, err error) *ProblemStatusCode
}
// Server implements http server based on OpenAPI v3 specification and