Skip to content

Commit

Permalink
fix booking link and remove discriminator
Browse files Browse the repository at this point in the history
  • Loading branch information
philsturgeon committed Mar 11, 2024
1 parent c814f2a commit abf2d09
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ paths:
- properties:
links:
$ref: '#/components/schemas/Links-Self'

example:
id: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e
trip_id: efdbb9d1-02c2-4bc3-afb7-6788d8782b1e
Expand Down Expand Up @@ -494,7 +495,7 @@ paths:
content:
application/json:
schema:
allOf:
allOf:
- $ref: '#/components/schemas/BookingPayment'
- properties:
links:
Expand Down Expand Up @@ -558,7 +559,7 @@ webhooks:
content:
application/json:
schema:
allOf:
allOf:
- $ref: '#/components/schemas/Booking'
- properties:
links:
Expand Down Expand Up @@ -890,8 +891,6 @@ components:
- account_type
- bank_name
- country
discriminator:
propertyName: object
status:
description: The status of the payment, one of `pending`, `succeeded`, or `failed`.
type: string
Expand All @@ -907,7 +906,7 @@ components:
type: string
format: uri
examples:
- https://api.example.com/bookings/123
- https://api.example.com/bookings/1725ff48-ab45-4bb5-9d02-88745177dedb
headers:
RateLimit:
description: |
Expand Down

0 comments on commit abf2d09

Please sign in to comment.