-
Notifications
You must be signed in to change notification settings - Fork 2
feat: create api design best practices #251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # API Design Guidelines | ||
| This readme is a continually evolving document meant to provide API design best practices for the following purposes. | ||
|
|
||
| 1. API feels consistent | ||
| 2. Preempt known bad patterns | ||
| 3. Make new APIs easy to define | ||
|
|
||
| ## Directory structure | ||
|
|
||
|
|
||
| ## Naming Conventions | ||
| ### Common fields | ||
| | Name | Description | | ||
| |---|---| | ||
| | timestamp | timestamp an event occurred | ||
|
|
||
| ## Service Structure | ||
| Prefer stuff | ||
|
Comment on lines
+17
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The Prompt To Fix With AIThis is a comment left during a code review.
Path: openapi/README.md
Line: 17-18
Comment:
**Placeholder text left in document**
The `## Service Structure` section contains only `Prefer stuff`, which reads as an unfinished placeholder. If this document is intended to be merged and referenced by engineers writing new APIs, shipping it with placeholder content may cause confusion or be followed literally. The `## Directory structure` section (lines 8–10) is also empty with no content at all.
How can I resolve this? If you propose a fix, please make it concise. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|. Without it, many Markdown renderers (GitHub, Mintlify, etc.) will either skip rendering the row or misformat the table entirely.Prompt To Fix With AI