Skip to content

Commit b051ab1

Browse files
committed
feat: 🎸 Updated WinAccommodation
Changed type of location property to MongoLocation
1 parent cb8ef04 commit b051ab1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎src/shared-definitions.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,6 +1539,20 @@ components:
15391539
}
15401540
}
15411541

1542+
MongoLocation:
1543+
description: An accommodation location object
1544+
type: object
1545+
required:
1546+
- type
1547+
- coordinates
1548+
properties:
1549+
type:
1550+
type: string
1551+
coordinates:
1552+
type: array
1553+
items:
1554+
type: number
1555+
15421556
WinAccommodation:
15431557
description: An accommodation object
15441558
allOf:
@@ -1553,6 +1567,8 @@ components:
15531567
id:
15541568
description: uuid of the hotel (offer)
15551569
type: string
1570+
location:
1571+
$ref: '#/components/schemas/MongoLocation'
15561572
provider:
15571573
description: provider id
15581574
type: string

0 commit comments

Comments
 (0)