Merged
Conversation
Contributor
Greptile OverviewGreptile SummaryAdded comprehensive API design guidelines to standardize development practices across the Grid API project. The new documentation covers versioning strategy (date-based API versioning with semver SDKs), naming conventions (plural resources, prefixed IDs, camelCase fields), service patterns (state machines with mermaid diagrams, resource actions, pagination), OpenAPI best practices (discriminators, validation, documentation), error handling structure, and tooling (Stainless SDK patterns, Redocly CLI usage).
Confidence Score: 4/5
|
| Filename | Overview |
|---|---|
| openapi/README.md | Comprehensive API design documentation added with best practices for versioning, naming, patterns, and tooling |
Sequence Diagram
sequenceDiagram
participant Dev as Developer
participant Doc as README.md
participant Team as Team Members
participant Impl as Implementation
Dev->>Doc: Add API design guidelines
Doc->>Doc: Define versioning strategy
Doc->>Doc: Document naming conventions
Doc->>Doc: Specify OpenAPI patterns
Doc->>Doc: Describe error handling
Doc->>Doc: Include SDK examples
Team->>Doc: Consult guidelines
Doc->>Team: Provide standards & patterns
Team->>Impl: Apply consistent practices
Impl->>Impl: Follow documented patterns
e9568b6 to
010dd68
Compare
f9b84e4 to
06fd9c2
Compare
06fd9c2 to
173674a
Compare
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
shreyav
approved these changes
Feb 5, 2026
Contributor
Author
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.

TL;DR
Added API design guidelines documentation to standardize our API development practices.
What changed?
Created a comprehensive
README.mdin theopenapidirectory that outlines best practices for API design, including: