From 8595425c0f62dfffc56faa276246386588233f2d Mon Sep 17 00:00:00 2001 From: Mia Bennett Date: Tue, 20 Aug 2024 11:34:26 +0930 Subject: [PATCH] doc(bookings): lowercase example --- OPENAPI_DOC.yml | 2 +- src/controllers/bookings.cr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OPENAPI_DOC.yml b/OPENAPI_DOC.yml index 10d0f81..3894141 100644 --- a/OPENAPI_DOC.yml +++ b/OPENAPI_DOC.yml @@ -2391,7 +2391,7 @@ paths: - name: induction in: query description: the induction status of the booking - example: TENTATIVE + example: accepted required: true schema: type: string diff --git a/src/controllers/bookings.cr b/src/controllers/bookings.cr index 7abc0d6..8c96025 100644 --- a/src/controllers/bookings.cr +++ b/src/controllers/bookings.cr @@ -810,7 +810,7 @@ class Bookings < Application # update the induction status @[AC::Route::POST("/:id/update_induction")] def update_induction( - @[AC::Param::Info(description: "the induction status of the booking", example: "TENTATIVE")] + @[AC::Param::Info(description: "the induction status of the booking", example: "accepted")] induction : PlaceOS::Model::Booking::Induction, @[AC::Param::Info(description: "provided for use with analytics", example: "mobile")] utm_source : String? = nil