New REST API endpoints will be created in the following week(s). One common implementation that's needed, before these tickets can be picked up is the ReservationResource resource.
Acceptance criteria
A reservation resource class is available.
The reservation resource data contract is validated by tests.
Technical outworking
Tasks
[x] Create/Extend API resource ReservationResource in App\API\V1\Http\Resources to transform the Eloquent model
[x] Create feature test to assert the data contract of the ReservationResource resource
Description
New REST API endpoints will be created in the following week(s). One common implementation that's needed, before these tickets can be picked up is the
ReservationResource
resource.Acceptance criteria
Technical outworking
Tasks
ReservationResource
inApp\API\V1\Http\Resources
to transform the Eloquent modelReservationResource
resourceDesign
ReservationResource
resource