Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions topsort-api-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1291,6 +1291,12 @@ components:
- $ref: "#/components/schemas/EmptyAuctionResult"
TravelAuctionResult:
description: The result of a travel-related auction request (hotels or flights).
discriminator:
propertyName: resultType
mapping:
hotels: "#/components/schemas/HotelsAuctionResult"
flights: "#/components/schemas/FlightsAuctionResult"
empty: "#/components/schemas/EmptyAuctionResult"
oneOf:
- $ref: "#/components/schemas/HotelsAuctionResult"
- $ref: "#/components/schemas/FlightsAuctionResult"
Expand Down Expand Up @@ -1970,6 +1976,7 @@ components:
type: object
description: Describes the intent of running a hotel travel auction.
required:
- type
- travelContext
- slots
properties:
Expand Down Expand Up @@ -2075,6 +2082,7 @@ components:
type: object
description: Describes the intent of running a flight travel auction.
required:
- type
- travelContext
- slots
properties:
Expand Down
Loading