vikunja/pkg/routes/api
kolaente 8532016a2d feat(api/v2): preserve Vikunja numeric error code in problem+json
translateDomainError discarded web.HTTPError.Code, so v2 error bodies
always read code 0 — losing the v1 contract the error docs key off.
Override huma.NewError with a VikunjaErrorModel that adds a code field,
so both the generated OpenAPI schema and runtime responses carry it.
Domain errors with a numeric code now surface it (e.g. 8002 for a
missing label, matching v1); errors without one omit it.
2026-05-31 12:56:57 +00:00
..
v1 feat(metrics): invalidate the user count cache on registration 2026-05-30 13:48:01 +00:00
v2 feat(api/v2): preserve Vikunja numeric error code in problem+json 2026-05-31 12:56:57 +00:00