fix(xerrors): rename MarshalJSON field platformCode → platform_code

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.
This commit is contained in:
2026-05-21 19:29:06 -06:00
parent 55c038f1b8
commit e24cbadf71
4 changed files with 17 additions and 7 deletions

1
.gitignore vendored
View File

@@ -36,3 +36,4 @@ Thumbs.db
# VCS files
COMMIT.md
RELEASE.md
PR.md