chore(openapi): sync public API contract - #537
Open
ItamarZand88 wants to merge 1 commit into
Open
Conversation
Greptile SummaryThe PR synchronizes three generated OpenAPI contract copies, adding OAuth authentication discovery, the unauthenticated health operation, deployment-compute contract updates, and clarified environment-variable behavior.
Confidence Score: 5/5The PR appears safe to merge with no concrete contract defect or security regression identified. The three generated contract copies remain synchronized, and the reviewed authentication and operation declarations reveal no reachable, changed-code-triggered failure.
|
| Filename | Overview |
|---|---|
| client-sdks/platform/openapi.json | Synchronizes the primary platform contract with OAuth discovery and the current public operation and schema surface. |
| client-sdks/platform/rust/openapi-3.0.json | Mirrors the updated OpenAPI 3.0 contract for Rust consumers. |
| client-sdks/platform/rust/openapi.json | Mirrors the updated contract used by Rust build-time client generation. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Public API contract] --> B[Platform OpenAPI copy]
A --> C[Rust OpenAPI copies]
B --> D[TypeScript client generation]
C --> E[Rust build-time generation]
B --> F[API-key or OAuth discovery]
B --> G[Unauthenticated health discovery]
Reviews (1): Last reviewed commit: "chore(openapi): sync public API contract" | Re-trigger Greptile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This syncs the generated OpenAPI copies with the current public API contract. The contract now describes OAuth authentication and the public health operation.
Contract flow:
This PR changes the generated contract from API-key-only discovery to the current public authentication and health surface.
How I tested
I also ran a security review on the diff. What it checked: