From 45948a0bd0086c21ad5f0d17e3ab69186ca50118 Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 3 Nov 2022 23:09:17 +0100 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20WIN-762=20Proxy:=20I?= =?UTF-8?q?mplement=20search=20with=20Static=20ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow searching for offers only for certain accommodationID(hotel IDs) ✅ Closes: [WIN-762] --- src/shared-definitions.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/shared-definitions.yaml b/src/shared-definitions.yaml index 5dec431..7132ab9 100644 --- a/src/shared-definitions.yaml +++ b/src/shared-definitions.yaml @@ -840,6 +840,11 @@ components: properties: location: $ref: '#/components/schemas/LocationSearch' + accommodationId: + type: array + items: + type: string + description: array of accommodation IDs that search should be restricted to arrival: type: string description: arrival day in the accommodation From 2bdb124998666bed4573c01903c41a1b6c3746da Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 9 Nov 2022 09:57:02 +0100 Subject: [PATCH 2/2] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20renamed=20accomm?= =?UTF-8?q?odationID=20to=20hotelID=20in=20search?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/shared-definitions.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared-definitions.yaml b/src/shared-definitions.yaml index 7132ab9..ebf97f4 100644 --- a/src/shared-definitions.yaml +++ b/src/shared-definitions.yaml @@ -840,11 +840,11 @@ components: properties: location: $ref: '#/components/schemas/LocationSearch' - accommodationId: + hotelIds: type: array items: type: string - description: array of accommodation IDs that search should be restricted to + description: array of hotel IDs that search should be restricted to arrival: type: string description: arrival day in the accommodation