diff --git a/apps/api/v2/src/modules/slots/slots-2024-09-04/controllers/slots.controller.ts b/apps/api/v2/src/modules/slots/slots-2024-09-04/controllers/slots.controller.ts index d46a7d2124..2d84f01c57 100644 --- a/apps/api/v2/src/modules/slots/slots-2024-09-04/controllers/slots.controller.ts +++ b/apps/api/v2/src/modules/slots/slots-2024-09-04/controllers/slots.controller.ts @@ -188,7 +188,8 @@ export class SlotsController_2024_09_04 { @DocsResponse({ status: 200, description: `A map of available slots indexed by date, where each date is associated with an array of time slots. If format=range is specified, each slot will be an object with start and end properties denoting start and end of the slot. - For seated slots each object will have attendeesCount and bookingUid properties.`, + For seated slots each object will have attendeesCount and bookingUid properties. + If no slots are available, the data field will be an empty object {}.`, schema: { oneOf: [ { diff --git a/docs/api-reference/v2/openapi.json b/docs/api-reference/v2/openapi.json index 6e2edd1453..6eec205f65 100644 --- a/docs/api-reference/v2/openapi.json +++ b/docs/api-reference/v2/openapi.json @@ -13741,7 +13741,7 @@ ], "responses": { "200": { - "description": "A map of available slots indexed by date, where each date is associated with an array of time slots. If format=range is specified, each slot will be an object with start and end properties denoting start and end of the slot.\n For seated slots each object will have attendeesCount and bookingUid properties.", + "description": "A map of available slots indexed by date, where each date is associated with an array of time slots. If format=range is specified, each slot will be an object with start and end properties denoting start and end of the slot.\n For seated slots each object will have attendeesCount and bookingUid properties.\n If no slots are available, the data object will be empty {}.", "content": { "application/json": { "schema": {