Corrects MarshalJSON JSON tag from "platformCode" to "platform_code" to match
the OpenAPI spec snake_case convention for error response fields
Updates all test assertions to expect "platform_code"
Adds PR.md to .gitignore
Test plan
go test ./... passes
JSON output of *Err contains "platform_code", not "platformCode"
"platform_code" is omitted when empty (omitempty still applies)
## Summary
- Corrects `MarshalJSON` JSON tag from `"platformCode"` to `"platform_code"` to match
the OpenAPI spec snake_case convention for error response fields
- Updates all test assertions to expect `"platform_code"`
- Adds `PR.md` to `.gitignore`
## Test plan
- [x] `go test ./...` passes
- [x] JSON output of `*Err` contains `"platform_code"`, not `"platformCode"`
- [x] `"platform_code"` is omitted when empty (omitempty still applies)
JSON tag on the anonymous struct inside MarshalJSON corrected from
`json:"platformCode,omitempty"` to `json:"platform_code,omitempty"` to
match the OpenAPI spec snake_case convention. All error responses that
serialize *Err directly now emit "platform_code" instead of "platformCode".
PR.md added to .gitignore.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
MarshalJSONJSON tag from"platformCode"to"platform_code"to matchthe OpenAPI spec snake_case convention for error response fields
"platform_code"PR.mdto.gitignoreTest plan
go test ./...passes*Errcontains"platform_code", not"platformCode""platform_code"is omitted when empty (omitempty still applies)