Skip to content

Commit

Permalink
add odm parameters for #passengers and #luggage
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Feb 20, 2025
1 parent 3119ed9 commit dc19f80
Showing 1 changed file with 17 additions and 38 deletions.
55 changes: 17 additions & 38 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,23 @@ paths:
schema:
type: integer
minimum: 0

- name: passengers
in: query
required: false
description: Optional. Experimental. Number of passengers (e.g. for ODM or price calculation)
schema:
type: integer
minimum: 1

- name: luggage
in: query
required: false
description: |
Optional. Experimental. Number of luggage pieces; base unit: airline cabin luggage (e.g. for ODM or price calculation)
schema:
type: integer
minimum: 1
responses:
'200':
description: routing result
Expand Down Expand Up @@ -1508,42 +1525,6 @@ components:
returnConstraint:
$ref: '#/components/schemas/RentalReturnConstraint'

ODMType:
type: string
enum:
- TAXI
- RIDE_SHARING

ODM:
description: Vehicle with driver, e.g., taxi
type: object
required:
- systemId
properties:
systemId:
type: string
description: ODM system ID
systemName:
type: string
description: ODM system name
url:
type: string
description: URL of the ODM system
companyName:
type: string
description: Name of company that offers the service
odmUriAndroid:
type: string
description: ODM URI for Android (deep link to the specific station or vehicle)
odmUriIOS:
type: string
description: ODM URI for iOS (deep link to the specific station or vehicle)
odmUriWeb:
type: string
description: ODM URI for web (deep link to the specific station or vehicle)
odmType:
$ref: '#/components/schemas/ODMType'

Leg:
type: object
required:
Expand Down Expand Up @@ -1647,8 +1628,6 @@ components:
$ref: '#/components/schemas/StepInstruction'
rental:
$ref: '#/components/schemas/Rental'
odm:
$ref: '#/components/schemas/ODM'

Itinerary:
type: object
Expand Down

0 comments on commit dc19f80

Please sign in to comment.