Skip to content

Commit 5843677

Browse files
authored
Merge pull request #10 from Galeaf11/feat/converted-price
feat: add converted price to offer
2 parents f6c1af1 + 6d33766 commit 5843677

File tree

2 files changed

+10
-52
lines changed

2 files changed

+10
-52
lines changed

src/shared-definitions.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ components:
362362
$ref: '#/components/schemas/MediaItem'
363363

364364
Disclosure:
365-
description: DIsclosure information
365+
description: Disclosure information
366366
type: array
367367
items:
368368
type: string
@@ -621,6 +621,8 @@ components:
621621
$ref: '#/components/schemas/Price'
622622
pricePlansReferences:
623623
$ref: '#/components/schemas/PricePlansReferences'
624+
convertedPrice:
625+
$ref: '#/components/schemas/ConvertedPrice'
624626

625627
OfferPriced:
626628
type: object
@@ -1698,15 +1700,6 @@ components:
16981700
refreshToken:
16991701
type: string
17001702

1701-
SessionResponse:
1702-
description: Bookings authentication secret response
1703-
type: object
1704-
required:
1705-
- token
1706-
properties:
1707-
token:
1708-
type: string
1709-
17101703
RewardOption:
17111704
description: option regarding the form of the reward
17121705
type: object
@@ -1776,6 +1769,13 @@ components:
17761769
items:
17771770
$ref: '#/components/schemas/BookingRecord'
17781771

1772+
ConvertedPrice:
1773+
description: converted price in USD
1774+
type: object
1775+
properties:
1776+
USD:
1777+
type: string
1778+
17791779
OffersSearchRequest:
17801780
description: Offers search request
17811781
type: object

src/win.yaml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -635,48 +635,6 @@ paths:
635635
schema:
636636
$ref: '#/components/schemas/Error'
637637

638-
/session:
639-
get:
640-
summary: get session token
641-
tags: [auth]
642-
responses:
643-
200:
644-
description: It's ok
645-
content:
646-
application/json:
647-
schema:
648-
$ref: '#/components/schemas/SessionResponse'
649-
400:
650-
description: Handled Error
651-
content:
652-
application/json:
653-
schema:
654-
$ref: '#/components/schemas/Error'
655-
401:
656-
description: Handled Error
657-
content:
658-
application/json:
659-
schema:
660-
$ref: '#/components/schemas/Error'
661-
403:
662-
description: Handled Error
663-
content:
664-
application/json:
665-
schema:
666-
$ref: '#/components/schemas/Error'
667-
404:
668-
description: Handled Error
669-
content:
670-
application/json:
671-
schema:
672-
$ref: '#/components/schemas/Error'
673-
500:
674-
description: Some server error
675-
content:
676-
application/json:
677-
schema:
678-
$ref: '#/components/schemas/Error'
679-
680638
/hotels/offers/search:
681639
post:
682640
tags: [offers]

0 commit comments

Comments
 (0)