aip-dev / google.aip.dev

API Improvement Proposals. https://aip.dev/
Other
1.08k stars 495 forks source link

feat(AIP-193) Clarify Code usage in proto vs json #1397

Closed shwoodard closed 2 months ago

shwoodard commented 2 months ago

Adds a callout of type "Important" that explains that code in google.rpc.Status is the numeric equivalent of the proto enum value found in google.rpc.Code while in JSON, it is the equivalent HTTP status.

image

Fixes: #1396