fix(xerrors): rename MarshalJSON field platformCode → platform_code (#3)
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. Reviewed-on: #3 Co-authored-by: Rene Nochebuena Guerrero <rene@nochebuena.dev> Co-committed-by: Rene Nochebuena Guerrero <rene@nochebuena.dev>
This commit was merged in pull request #3.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -36,3 +36,4 @@ Thumbs.db
|
||||
# VCS files
|
||||
COMMIT.md
|
||||
RELEASE.md
|
||||
PR.md
|
||||
|
||||
Reference in New Issue
Block a user