Skip to content

Commit

Permalink
doc(bookings): lowercase example
Browse files Browse the repository at this point in the history
  • Loading branch information
chillfox committed Aug 20, 2024
1 parent e2134f2 commit 8595425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_DOC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/bookings.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8595425

Please sign in to comment.