API - Added mapping for API request objects.
CI / Docker Lint (push) Successful in 28s

This commit is contained in:
2024-10-01 20:43:25 +02:00
parent 986f422824
commit a495be6bb2
4 changed files with 78 additions and 105 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class BookingCreateRequest
public BookingCustomer $customerDetails;
/**
* @var array<BookingCreateRoomItem>
* @var BookingCreateRoomItem[]
*/
#[OA\Property(
description: 'Rooms to book',
+1 -1
View File
@@ -7,7 +7,7 @@ use OpenApi\Attributes as OA;
class BookingCreateRoomItem
{
#[OA\Property(description: 'Room category ID')]
public string $roomCategory;
public int $roomCategory;
#[OA\Property(description: 'Guest number for the room')]
public int $guestNumber;