feat(api): define public problem errors, pagination, and retry contract
This commit is contained in:
1 parent
b2f6e87bfe
commit
565ca94bbb
86 files changed
+8200
-154
No files matched your search
@@ -12,6 +12,7 @@ import (
|
||||
httpadapter "lincodex/backend/internal/adapter/primary/http"
|
||||
apiadapter "lincodex/backend/internal/adapter/primary/http/api"
|
||||
httpmiddleware "lincodex/backend/internal/adapter/primary/http/middleware"
|
||||
"lincodex/backend/internal/adapter/primary/http/problem"
|
||||
v1 "lincodex/backend/internal/adapter/primary/http/v1"
|
||||
"lincodex/backend/internal/adapter/secondary/postgres"
|
||||
metrics "lincodex/backend/internal/adapter/secondary/prometheus"
|
||||
@@ -33,6 +34,7 @@ func initialize(ctx context.Context, config config.Config, logger *slog.Logger)
|
||||
newReadiness,
|
||||
metrics.New,
|
||||
newHealthHandler,
|
||||
problem.NewResponder,
|
||||
v1.NewHandler,
|
||||
httpadapter.NewRouter,
|
||||
NewApplication,
|
||||
|
||||
Reference in new issue
Block a user