From 90b4b1be7f8820d171f22295df7c71fe204ac6db Mon Sep 17 00:00:00 2001 From: Ali Naqvi Date: Mon, 1 Jul 2024 14:17:17 +0800 Subject: [PATCH] fix: update endpoint description --- OPENAPI_DOC.yml | 4 ++-- src/controllers/bookings.cr | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OPENAPI_DOC.yml b/OPENAPI_DOC.yml index 31a0377..0501d26 100644 --- a/OPENAPI_DOC.yml +++ b/OPENAPI_DOC.yml @@ -416,8 +416,8 @@ paths: $ref: '#/components/schemas/Bookings__BookingError' /api/staff/v1/bookings/booked: get: - summary: lists bookings IDs based on the parameters provided - description: 'lists bookings IDs based on the parameters provided + summary: lists asset IDs based on the parameters provided + description: 'lists asset IDs based on the parameters provided booking_type is required unless event_id or ical_uid is present' diff --git a/src/controllers/bookings.cr b/src/controllers/bookings.cr index 65a8522..42b1d35 100644 --- a/src/controllers/bookings.cr +++ b/src/controllers/bookings.cr @@ -259,7 +259,7 @@ class Bookings < Application result end - # lists bookings IDs based on the parameters provided + # lists asset IDs based on the parameters provided # # booking_type is required unless event_id or ical_uid is present @[AC::Route::GET("/booked")]