-
Notifications
You must be signed in to change notification settings - Fork 4
OpenAPI 스펙 텍스트 수정 #9
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
Conversation
OpenAPI 스펙 문서에 빠져있는 설명을 추가하고, 예제와 설명이 뒤섞인 것 구분.
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.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- tickets/openapi.yaml: Language not supported
Walkthrough이번 변경사항은 Changes
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (25)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Hello @ahastudio, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
Summary of Changes
This pull request focuses on improving the OpenAPI specification document for the tickets API. The primary goal is to enhance the clarity and completeness of the documentation by adding missing descriptions and separating examples from descriptions. This involves updating titles, descriptions, parameters, and responses throughout the openapi.yaml file to provide more accurate and informative details about the API endpoints and their expected behavior.
Highlights
- Description Updates: Missing descriptions have been added to various parts of the OpenAPI spec, including responses, parameters, and schema properties, to provide more context.
- Example Clarification: The examples and descriptions are now clearly separated to avoid confusion and improve readability.
- Text Modifications: Textual changes have been made throughout the document to improve the overall quality and accuracy of the OpenAPI specification.
Changelog
Click here to see the changelog
- tickets/openapi.yaml
- Updated the title of the API to 'Tickets API'.
- Added descriptions to the 200 responses for the GET endpoints.
- Added a sample comment to the GET /tickets endpoint.
- Removed an example ticket from the GET /tickets endpoint.
- Updated descriptions for the POST /tickets request body properties.
- Updated the example for the POST /tickets request body.
- Added descriptions to the parameters for the GET /tickets/{id} endpoint.
- Updated the example ticket for the GET /tickets/{id} endpoint.
- Added descriptions to the parameters for the PATCH /tickets/{id} endpoint.
- Updated the descriptions for the PATCH /tickets/{id} request body.
- Updated the example ticket for the PATCH /tickets/{id} endpoint.
- Added descriptions to the parameters for the DELETE /tickets/{id} endpoint.
- Updated the example ticket for the DELETE /tickets/{id} endpoint.
- Added descriptions to the parameters for the GET /tickets/{ticketId}/comments endpoint.
- Updated the example comment for the GET /tickets/{ticketId}/comments endpoint.
- Added descriptions to the parameters for the POST /tickets/{ticketId}/comments endpoint.
- Updated the descriptions for the POST /tickets/{ticketId}/comments request body.
- Updated the example comment for the POST /tickets/{ticketId}/comments endpoint.
- Added descriptions to the parameters for the DELETE /tickets/{ticketId}/comments/{id} endpoint.
- Updated the example comment for the DELETE /tickets/{ticketId}/comments/{id} endpoint.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
A spec's a guide,
For code to confide,
Clear words light the way,
No bugs can stay,
In APIs, we confide.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
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.
Code Review
The pull request updates the OpenAPI specification document by adding missing descriptions and separating examples from descriptions. The changes improve the clarity and completeness of the API documentation.
Summary of Findings
- Inconsistent Translation: The pull request mixes Korean and English descriptions and examples. For consistency and broader usability, it's recommended to use a single language (preferably English) throughout the OpenAPI specification.
- Example Data Consistency: The example data in the OpenAPI specification should be reviewed to ensure it accurately reflects the API's behavior and data structures. Some examples may need adjustments to align with the updated descriptions.
Merge Readiness
The pull request improves the OpenAPI specification by adding missing descriptions and clarifying examples. However, the inconsistent use of Korean and English descriptions should be addressed before merging. I am unable to directly approve the pull request, and recommend that others review and approve this code before merging.
| responses: | ||
| "200": | ||
| description: "" | ||
| description: 성공 |
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.
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.
일단은 한국어 쓸 거야.
| responses: | ||
| "200": | ||
| description: "" | ||
| description: 티켓 생성 성공 |
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.
| responses: | ||
| "200": | ||
| description: "" | ||
| description: 티켓 수정 성공 |
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.
| responses: | ||
| "200": | ||
| description: "" | ||
| description: 티켓 삭제 성공 |
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.
| headers: {} | ||
| "404": | ||
| description: "" | ||
| description: 티켓을 찾을 수 없음 |
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.
| responses: | ||
| "200": | ||
| description: "" | ||
| description: 성공 |
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.
| responses: | ||
| "200": | ||
| description: "" | ||
| description: 댓글 생성 성공 |
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.
| responses: | ||
| "200": | ||
| description: "" | ||
| description: 댓글 삭제 성공 |
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.
OpenAPI 스펙 문서에 빠져있는 설명을 추가하고, 예제와 설명이 뒤섞인 것 구분.
Summary by CodeRabbit