As a developer
I need to move/refactor Update Shopcarts API into ShopcartResource class
So that Update Shopcarts API swagger doc would be available on the /apidocs page
Details and Assumptions
Assumed the current Update Shopcarts API is implemented outside the ShopcartResource class.
Assumed that ShopcartResource class is responsible for managing shopcarts and includes all shopcart-related functionalities.
Assumed the current Update Shopcarts API lacks a Swagger documentation, which needs to be added to the "/apidocs" page.
Assumed that no functionality is lost during the move/refactor process.
Acceptance Criteria
Given the current implementation has a standalone Update Shopcarts API outside the ShopcartResource class.
When the Update Shopcarts API is moved/refactored into the ShopcartResource class, and Swagger documentation is added.
Then the Update Shopcarts API is now a part of the ShopcartResource class, and its functionality remains intact,
And the swagger documentation for the Update Shopcarts API is accessible and correctly displayed on the "/apidocs" page,
And testing is conducted to verify that the API works as expected and no new bugs are introduced during the refactoring process,
And the refactored code is reviewed and approved by team members before merging it into master branch,
And any dependent code that uses the Update Shopcarts API is updated to use the new location within the ShopcartResource class.
As a developer I need to move/refactor Update Shopcarts API into ShopcartResource class So that Update Shopcarts API swagger doc would be available on the /apidocs page
Details and Assumptions
Assumed that no functionality is lost during the move/refactor process.
Acceptance Criteria