Skip to content

Commit edb06a5

Browse files
authored
Merge pull request #15 from blecorre/feat/add-providerId-groups
feat: return providerId in output of the booking request
2 parents 18c9fc2 + 213160a commit edb06a5

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/shared-definitions.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,12 @@ components:
420420
minLength: 1
421421
maxLength: 99
422422
example: '100.00'
423-
example: { 'type': 'refundable_with_deadline', 'deadline': '2022-10-12T23:59:59.59Z', 'penaltyAmount': '100.00' }
423+
example:
424+
{
425+
'type': 'refundable_with_deadline',
426+
'deadline': '2022-10-12T23:59:59.59Z',
427+
'penaltyAmount': '100.00',
428+
}
424429

425430
AccommodationType:
426431
description: Type of accommodation service
@@ -2214,13 +2219,16 @@ components:
22142219

22152220
GroupBookingRequestResponse:
22162221
description: Representation of a response to a group booking request
2217-
required: ['requestId', 'serviceId', 'depositOptions']
2222+
required: ['requestId', 'serviceId', 'providerId', 'depositOptions']
22182223
properties:
22192224
requestId:
22202225
description: Id of the group booking request
22212226
$ref: '#/components/schemas/UUID'
22222227
serviceId:
2223-
description: serviceId associated to the group booking request
2228+
description: blockchain Id of the group booking request
2229+
type: string
2230+
providerId:
2231+
description: blockchain Id of the provider of the service
22242232
type: string
22252233
depositOptions:
22262234
$ref: '#/components/schemas/GroupBookingDeposits'

0 commit comments

Comments
 (0)