Skip to content

Commit 1425969

Browse files
committed
chore: fix specs
1 parent a122f28 commit 1425969

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

specs/xap-activity.specs.yaml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,19 @@ paths:
4646
description: |-
4747
Start date for the activity window in YYY-MM-DD format.
4848
If an endDate value is supplied there must also be a startDate.
49+
default: currentDate
4950
schema:
5051
type: string
51-
default: currentDate
52+
format: date
5253
example: 2021-10-01
5354
- name: endDate
5455
in: query
5556
description: |-
5657
End date for the activity window in YYY-MM-DD format.
58+
default: "startDate+14"
5759
schema:
5860
type: string
59-
default: "startDate+14"
61+
format: date
6062
example: 2021-10-10
6163
- name: locale
6264
in: query
@@ -73,8 +75,14 @@ paths:
7375
Comma-separated list to specify the types of HATEAOS links returned in the API Response.
7476
WD (deep link URL to web infosite)
7577
AD (details API query)
78+
explode: false
7679
schema:
77-
type: string
80+
type: array
81+
items:
82+
type: string
83+
enum:
84+
- WD
85+
- AD
7886
example: WD
7987
- name: Key
8088
in: header
@@ -86,7 +94,7 @@ paths:
8694
schema:
8795
type: string
8896
example: X99X9X9-99XX-9XX9-X999-99XX99X9X999X
89-
- name: Partner-Transaction-ID
97+
- name: Partner-Transaction-Id
9098
in: header
9199
description: Partner-generated identifier.
92100
required: true
@@ -311,7 +319,7 @@ paths:
311319
schema:
312320
type: string
313321
example: X99X9X9-99XX-9XX9-X999-99XX99X9X999X
314-
- name: Partner-Transaction-ID
322+
- name: Partner-Transaction-Id
315323
in: header
316324
description: Partner-generated identifier.
317325
required: true
@@ -516,9 +524,7 @@ components:
516524
Price:
517525
required:
518526
- Category
519-
- TotalFees
520527
- TotalRate
521-
- TotalTaxesAndFees
522528
type: object
523529
properties:
524530
Category:
@@ -749,9 +755,6 @@ components:
749755
type: boolean
750756
description: Geographic information
751757
Location:
752-
required:
753-
- LocationId
754-
- Name
755758
type: object
756759
properties:
757760
Type:
@@ -854,7 +857,6 @@ components:
854857
- FreeCancellation
855858
- Id
856859
- Media
857-
- Offers
858860
- Price
859861
- Supplier
860862
- Title
@@ -1055,9 +1057,7 @@ components:
10551057
description: Container for the Cancellation Policy information.
10561058
Link:
10571059
required:
1058-
- Accept
10591060
- Href
1060-
- Method
10611061
type: object
10621062
properties:
10631063
Accept:
@@ -1176,7 +1176,6 @@ components:
11761176
Supplier:
11771177
required:
11781178
- Name
1179-
- Phone
11801179
type: object
11811180
properties:
11821181
Name:
@@ -1339,4 +1338,4 @@ components:
13391338
securitySchemes:
13401339
basicSchema:
13411340
type: http
1342-
scheme: basic
1341+
scheme: basic

0 commit comments

Comments
 (0)