logicsrc/apps/commandboard-api
Dong Liu d29808aea2 fix(commandboard-api): return 400 for malformed JSON bodies instead of 500
Malformed JSON on any POST endpoint previously bubbled a SyntaxError to
the top-level handler, which mapped every throw to 500. Client input
errors now respond 400 { "error": "Invalid JSON body" } via a typed
InvalidJsonBodyError thrown from readJson().

Adds contract tests covering all four POST endpoints plus a control
asserting schema-invalid (but well-formed) bodies still return 422.

Fixes #11
2026-06-12 00:02:08 +00:00
..
src fix(commandboard-api): return 400 for malformed JSON bodies instead of 500 2026-06-12 00:02:08 +00:00
package.json Add communication account plugin scaffolds 2026-06-09 10:02:07 +00:00
tsconfig.json Scaffold LogicSRC and CommandBoard plugins 2026-06-06 11:24:02 +00:00