Skip to content

Commit

Permalink
chore: fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
anssari1 committed Dec 15, 2024
1 parent a122f28 commit 1425969
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions specs/xap-activity.specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,19 @@ paths:
description: |-
Start date for the activity window in YYY-MM-DD format.
If an endDate value is supplied there must also be a startDate.
default: currentDate
schema:
type: string
default: currentDate
format: date
example: 2021-10-01
- name: endDate
in: query
description: |-
End date for the activity window in YYY-MM-DD format.
default: "startDate+14"
schema:
type: string
default: "startDate+14"
format: date
example: 2021-10-10
- name: locale
in: query
Expand All @@ -73,8 +75,14 @@ paths:
Comma-separated list to specify the types of HATEAOS links returned in the API Response.
WD (deep link URL to web infosite)
AD (details API query)
explode: false
schema:
type: string
type: array
items:
type: string
enum:
- WD
- AD
example: WD
- name: Key
in: header
Expand All @@ -86,7 +94,7 @@ paths:
schema:
type: string
example: X99X9X9-99XX-9XX9-X999-99XX99X9X999X
- name: Partner-Transaction-ID
- name: Partner-Transaction-Id
in: header
description: Partner-generated identifier.
required: true
Expand Down Expand Up @@ -311,7 +319,7 @@ paths:
schema:
type: string
example: X99X9X9-99XX-9XX9-X999-99XX99X9X999X
- name: Partner-Transaction-ID
- name: Partner-Transaction-Id
in: header
description: Partner-generated identifier.
required: true
Expand Down Expand Up @@ -516,9 +524,7 @@ components:
Price:
required:
- Category
- TotalFees
- TotalRate
- TotalTaxesAndFees
type: object
properties:
Category:
Expand Down Expand Up @@ -749,9 +755,6 @@ components:
type: boolean
description: Geographic information
Location:
required:
- LocationId
- Name
type: object
properties:
Type:
Expand Down Expand Up @@ -854,7 +857,6 @@ components:
- FreeCancellation
- Id
- Media
- Offers
- Price
- Supplier
- Title
Expand Down Expand Up @@ -1055,9 +1057,7 @@ components:
description: Container for the Cancellation Policy information.
Link:
required:
- Accept
- Href
- Method
type: object
properties:
Accept:
Expand Down Expand Up @@ -1176,7 +1176,6 @@ components:
Supplier:
required:
- Name
- Phone
type: object
properties:
Name:
Expand Down Expand Up @@ -1339,4 +1338,4 @@ components:
securitySchemes:
basicSchema:
type: http
scheme: basic
scheme: basic

0 comments on commit 1425969

Please sign in to comment.