Skip to content

Commit

Permalink
fix: update endpoint description
Browse files Browse the repository at this point in the history
  • Loading branch information
naqvis committed Jul 1, 2024
1 parent 6009aba commit 90b4b1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions OPENAPI_DOC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/bookings.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 90b4b1b

Please sign in to comment.