fix(httputil): rename error body field platformCode → platform_code #2
Reference in New Issue
Block a user
Delete Branch "fix/platform-code-error-body"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
errorBody()JSON key from"platformCode"to"platform_code"to matchthe OpenAPI spec snake_case convention
xerrorsdependency to v1.0.2 (which carries the same fix forMarshalJSON)"platform_code"PR.mdto.gitignoreTest plan
go test ./...passes"platform_code", not"platformCode""platform_code"is absent when platform code is empty