Skip to content

Commit a91a715

Browse files
committed
chore: update cars specs
1 parent 7817490 commit a91a715

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

specs/xap-car.specs.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ paths:
6969
in: query
7070
description: 'Radius used in conjunction with a point to define the search area when searching by lat/ long, city or address.See '' unit'' parameter below to select miles or kilometers.If no value is specified a default value of 25 will be assumed.'
7171
schema:
72-
type: string
73-
example: '10'
72+
type: integer
73+
example: 10
7474
- name: dropOff.airport
7575
in: query
7676
description: 'Three letter code for the airport at which the customer would like to drop off the car.Supported values: standard 3 letter IATA Airport Code.Please see a full list of Car Vendor Codes and Airport Codes in the Related Links Section below.Cannot coexist with other drop off parameters, only one drop off parameter is allowed per request.If no drop off location is specified, it is assumed that the customer will be dropping the car off at the same location at which they picked it up.'
@@ -98,19 +98,23 @@ paths:
9898
in: query
9999
description: 'Radius used in conjunction with a point to define the search area when searching by lat/ long, city or address.See '' unit'' parameter below to select miles or kilometers.If no value is specified a default value of 25 will be assumed.Note: The pickup radius value will be used (instead of the the drop-off radius) when the requested pickup and drop-off city/address are exactly the same.'
100100
schema:
101-
type: string
102-
example: '10'
101+
type: integer
102+
example: 10
103103
- name: pickupTime
104104
in: query
105105
description: 'Requested car pickup date and time.Date should be ISO8601 Date format.The default TIME is 10:30:00.The supported search window is today to 330 days in the future.(Note that each rental counter has different hours of operation. If you select a time in the middle of the night there may be no inventory available as all locations may be closed.)'
106+
required: true
106107
schema:
107108
type: string
109+
format: date-time
108110
example: '2021-06-05T10:00'
109111
- name: dropOffTime
110112
in: query
111113
description: 'Requested car drop off date and time. Date should be ISO8601 Date format.The supported search window is today to 330 days in the future.Note: The dropOffTime must be at least 2 hours later than the pickupTime for the request to be valid.'
114+
required: true
112115
schema:
113116
type: string
117+
format: date-time
114118
example: '2021-06-06T10:00'
115119
- name: sortType
116120
in: query
@@ -1477,7 +1481,6 @@ components:
14771481
description: Details of requested car.
14781482
CarDetailsResponse:
14791483
required:
1480-
- CarDetails
14811484
- TransactionId
14821485
type: object
14831486
properties:

0 commit comments

Comments
 (0)