Skip to content

Commit b13242f

Browse files
Merge pull request #23 from designmynight/story/AB#1557397/update-bookings-endpoint-in-collins-api
AB#1557397: Added clarification stating that preorders are not automatically added to the response payload
2 parents fcac1df + 77d7d71 commit b13242f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bookings/components/preorders/view-preorder.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ items:
6868
type: array
6969
description: An array of items in the booking.
7070
properties:
71-
$ref: view-preorder-item.yaml
71+
$ref: "./view-preorder-item.yaml"

bookings/components/view-booking.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,9 @@ properties:
327327
example: true
328328
preorders:
329329
type: array
330-
description: An array of preorders for the booking.
330+
description: >-
331+
An array of preorders for the booking. This is not included by default,
332+
but can be included by setting `include_preorders` to true in the query parameters.
331333
properties:
332334
$ref: "preorders/view-preorder.yaml"
333335

0 commit comments

Comments
 (0)