vikunja/pkg/routes/api/v2
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
..
scalar feat(api/v2): serve Scalar docs UI at /api/v2/docs 2026-05-31 12:56:57 +00:00
docs.go feat(api/v2): serve Scalar docs UI at /api/v2/docs 2026-05-31 12:56:57 +00:00
errors.go feat(api/v2): preserve Vikunja numeric error code in problem+json 2026-05-31 12:56:57 +00:00
huma.go fix(api/v2): publish OpenAPI Servers and make schemas publicly fetchable 2026-05-31 12:56:57 +00:00
labels.go feat(api/v2): port Label to per-operation Huma handlers 2026-05-31 12:56:57 +00:00
types.go feat(api/v2): port Label to per-operation Huma handlers 2026-05-31 12:56:57 +00:00