-
-
Notifications
You must be signed in to change notification settings - Fork 43
API V2 Design Review #120
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
base: main
Are you sure you want to change the base?
API V2 Design Review #120
Conversation
Deployment failed with the following error:
|
If you know you want to change something but didn't have time yet, please write a quick comment. If you think its good like that leave a thumbs up. |
Sorry @solonovamax that I haven't looked at it since you posted. But to all others, does no one have an opinion on those changes? (Not that they are bad, btw.) |
Refactors the OpenAPI specification to version 2.1.0, introducing significant structural changes and new features based on feedback. Key changes include: - Introduction of the `Site` entity (Coupon -> Site -> Merchant relationship). - Extensive use of reusable components (`parameters`, `schemas`, `responses`, `requestBodies`, `headers`) for better maintainability and consistency. - Addition of endpoints for managing `Sites` and suggesting changes. - Replacement of `PATCH` with `POST /{resource}/{id}/suggestions` for clarity. - Update of coupon voting (`POST /coupons/{id}/votes`). - Consistent use of `snake_case` and standard HTTP status codes. - Clarifications and improvements to descriptions, schemas, and parameters based on review feedback.
Changelog for Syrup API Standard v2.1.0This version introduces significant changes, including new entities and structural improvements, based on feedback from PR #120. Changes
New Features
Improvements & Fixes
Rationale for Implementation DecisionsThis section clarifies why certain feedback points were implemented differently than suggested or were not adopted:
Addressed Feedback Points (Summary)
|
@solonovamax what do you think? |
API V2 Design Review
This PR outlines the proposed API V2 design. Please review and provide feedback on the changes before we proceed with implementation.
Key feedback areas:
All feedback will be discussed and incorporated based on team consensus.