Skip to content

Commit

Permalink
stop overusing the same uuid everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
philsturgeon committed Feb 2, 2024
1 parent 7a0411c commit b4da318
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/schemas/Booking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ properties:
description: Unique identifier for the booking
readOnly: true
examples:
- efdbb9d1-02c2-4bc3-afb7-6788d8782b1e
- 3f3e3e1-c824-4d63-b37a-d8d698862f1d
trip_id:
type: string
format: uuid
description: Identifier of the booked trip
examples:
- efdbb9d1-02c2-4bc3-afb7-6788d8782b1e
- 4f4e4e1-c824-4d63-b37a-d8d698862f1d
passenger_name:
type: string
description: Name of the passenger
Expand Down
3 changes: 1 addition & 2 deletions components/schemas/Trip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ properties:
format: uuid
description: Unique identifier for the trip
examples:
- efdbb9d1-02c2-4bc3-afb7-6788d8782b1e
- b2e783e1-c824-4d63-b37a-d8d698862f1d
- 4f4e4e1-c824-4d63-b37a-d8d698862f1d
origin:
type: string
description: The starting station of the trip
Expand Down

0 comments on commit b4da318

Please sign in to comment.