Skip to content

feat(oad): add OnePlatform GoogleRpcStatus 4XX/5XX error schemas - #206

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara/1015876087
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara/1015876087

Conversation

@copybara-service

Copy link
Copy Markdown

feat(oad): add OnePlatform GoogleRpcStatus 4XX/5XX error schemas

Adds the shared 15-oneplatform-errors.yaml GAOS OpenAPI overlay defining OnePlatform HTTP error response schemas:

  • GoogleRpcStatus: code (int32), message (string with x-speakeasy-error-message: true), status (string), and details (array of open objects), with all inner fields optional so sparse error payloads parse without validation failures.
  • StatusClientError (4XX) and StatusServerError (5XX): shared {error: GoogleRpcStatus} response envelopes (required: [error]).

@copybara-service
copybara-service Bot requested a review from a team November 10, 2026 13:47
@copybara-service
copybara-service Bot force-pushed the copybara/1015876087 branch 4 times, most recently from fff75a6 to 267c51b Compare November 11, 2026 23:45
Adds the shared `15-oneplatform-errors.yaml` GAOS OpenAPI overlay defining OnePlatform HTTP error response schemas:
- `GoogleRpcStatus`: `code` (`int32`), `message` (`string` with `x-speakeasy-error-message: true`), `status` (`string`), and `details` (`array` of open objects), with all inner fields optional so sparse error payloads parse without validation failures.
- `StatusClientError` (`4XX`) and `StatusServerError` (`5XX`): shared `{error: GoogleRpcStatus}` response envelopes (`required: [error]`).

PiperOrigin-RevId: 1015876087
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants