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? |
I completely missed this mention when it happened, very sorry about that. I'll look it over later today. |






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.