Commit Graph
3 Commits
Author SHA1 Message Date
Rene Nochebuena 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
Rene Nochebuena e8adc266a6 feat(httputil)!: promote to v1.0.0 — bump xerrors and valid to v1, stabilize API
Bump xerrors to v1.0.1 and valid to v1.0.1. Go directive bumped to 1.26.
API committed as stable: Handle, HandleNoBody, HandleEmpty, HandlerFunc,
JSON, NoContent, and Error are unchanged from v0.10.0.
2026-05-12 17:37:24 +00:00
Rene Nochebuena 285293a75b docs(httputil): correct tier from 3 to 2
httputil depends on xerrors (Tier 0) and valid (Tier 1), placing it at
Tier 2. No infrastructure or lifecycle dependencies exist in this module.
2026-03-19 13:09:32 +00:00