fix(httputil): rename error body field platformCode → platform_code #2

Merged
Rene Nochebuena merged 1 commits from fix/platform-code-error-body into main 2026-05-21 19:34:42 -06:00

1 Commits

Author SHA1 Message Date
ccfa3d1527 fix(httputil): rename error body field platformCode → platform_code
errorBody() map key corrected from "platformCode" to "platform_code" to
match the OpenAPI spec snake_case convention. All HTTP error responses
produced by Error(w, err) now emit "platform_code" in the JSON body.
PR.md added to .gitignore.
Depends on xerrors v1.0.2 (go.mod bumped in follow-up commit after xerrors tag).
2026-05-21 19:32:35 -06:00