From d2176dfdc340832563ec62d89ba08be64dc4042a Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Fri, 3 Oct 2025 14:02:21 +0200 Subject: [PATCH] OVPAY-2018 - Processed review remarks. --- src/openapi/customers/SE-customers.yaml | 49 ++++++++++--------------- 1 file changed, 19 insertions(+), 30 deletions(-) diff --git a/src/openapi/customers/SE-customers.yaml b/src/openapi/customers/SE-customers.yaml index 37079cb..3c8d039 100644 --- a/src/openapi/customers/SE-customers.yaml +++ b/src/openapi/customers/SE-customers.yaml @@ -243,14 +243,12 @@ paths: ], "devices": [ { - "deviceTypeId": 1, - "deviceIdentifier": "123e4567-e89b-12d3-a456-426614174000", - "isPreferred": true + "externalDeviceId": "123e4567-e89b-12d3-a456-426614174000", + "alias": "My iPhone", }, { - "deviceTypeId": 2, - "deviceIdentifier": "987e6543-e21b-12d3-a456-426614174999", - "isPreferred": false + "externalDeviceId": "987e6543-e21b-12d3-a456-426614174999", + "alias": "My iPad", } ] } @@ -342,16 +340,14 @@ paths: ], "devices": [ { - "deviceId": 1, - "deviceTypeId": 1, - "deviceIdentifier": "123e4567-e89b-12d3-a456-426614174000", - "isPreferred": true + "deviceId": "813afdd8-bf8c-4e26-bfda-4da79552bd38", + "externalDeviceId": "123e4567-e89b-12d3-a456-426614174000", + "alias": "My iPhone", }, { - "deviceId": 2, - "deviceTypeId": 2, - "deviceIdentifier": "987e6543-e21b-12d3-a456-426614174999", - "isPreferred": false + "deviceId": "4f4249a2-ac6c-44f9-b740-66e66b6f3c28", + "externalDeviceId": "987e6543-e21b-12d3-a456-426614174999", + "alias": "My iPad", } ] } @@ -3612,23 +3608,16 @@ components: type: object properties: deviceId: - type: integer - example: 1 - deviceType: - type: object - properties: - deviceTypeId: - type: integer - example: 1 - name: - type: string - example: iOS - pushToken: type: string - example: abcdef123456 - isPreferred: - type: boolean - example: true + format: uuid + example: 1 + externalDeviceId: + type: string + format: uuid + example: dee7d80e-9288-4508-a3ed-c067e619179f + alias: + type: string + example: My iPhone 13 _links: type: object properties: