From 2fca37628e7497d8173b890a3742c678fa436507 Mon Sep 17 00:00:00 2001 From: Max Martens Date: Tue, 5 May 2026 15:12:20 +0200 Subject: [PATCH 1/3] Only return deviceId in PATCH response to prevent extra internal GET call in PATCH logic --- src/openapi/customers/customers-crud-v2.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index 6ff2f7e..1fff848 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -1438,13 +1438,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/getDevices" - examples: - updateDeviceResponse: - value: - deviceId: "5bedce29-af0c-4f3c-b182-2caa8a1f9377" - externalDeviceId: "7122a988-a00a-417d-a5b4-da2d91354976" - alias: "iPhone zakelijk" + $ref: "#/components/schemas/patchDeviceResponse" security: - default: [] @@ -2857,6 +2851,14 @@ components: type: array items: $ref: "#/components/schemas/getDeviceEntity" + patchDeviceResponse: + type: object + properties: + deviceId: + type: string + format: uuid + example: "b2c8a8c6-3d1c-4b6b-8f8d-3a6a1b6a1b6a" + getDeviceEntity: type: object properties: From 383d43122b7fd61e8eb45c04e52d0f97351a47f1 Mon Sep 17 00:00:00 2001 From: Max Martens Date: Tue, 12 May 2026 16:29:51 +0200 Subject: [PATCH 2/3] Reverted some links to the old/"standard" href structure, becasuse the links are buggy and not worth the effort to fix. Exception is GET /devices, that one is working --- src/openapi/customers/customers-crud-v2.yaml | 145 +------------------ 1 file changed, 7 insertions(+), 138 deletions(-) diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index 1fff848..323e723 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -332,14 +332,6 @@ paths: user: user timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?customerProfileId=1", - "method": "GET", - }, - } - customerProfileId: 12 customerNumber: 1000002 debtorNumber: DB100121 @@ -467,32 +459,7 @@ paths: user: user timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?customerProfileId=12", - "method": "GET", - }, - } - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=20", - "method": "GET", - }, - "prev": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers", - "method": "GET", - }, - "next": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=40", - "method": "GET", - }, - } + href: "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=20&limit=20" getCustomerActive: summary: getCustomerActive description: >- @@ -615,22 +582,7 @@ paths: user: user timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?customerProfileId=1", - "method": "GET", - }, - } - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers", - "method": "GET", - }, - } + href: https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=20&limit=20 getCustomerBlocked: summary: getCustomerBlocked description: >- @@ -758,22 +710,7 @@ paths: user: user timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?customerProfileId=1", - "method": "GET", - }, - } - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers", - "method": "GET", - }, - } + href: https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=20&limit=20 400: description: Bad Request content: @@ -1601,24 +1538,7 @@ paths: "replacedByTokenId": 12, }, ], - "_links": - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/ovPayTokens?offset=20", - "method": "GET", - }, - "prev": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/ovPayTokens", - "method": "GET", - }, - "next": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/ovPayTokens?offset=40", - "method": "GET", - }, - }, + "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/ovPayTokens?offset=20&limit=20" } /customers/{customerProfileId}/ovpaytokens: post: @@ -1937,9 +1857,10 @@ paths: "created": "2024-10-20T17:05:52.000", }, ], + "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/billingInformations?offset=20&limit=20" } getBillingInformationSingleSpecificCustomer: - summary: Get singel billing information entity for a specific customers + summary: Get single billing information entity for a specific customers description: >- Found one billing information matching the search parameters value: @@ -2129,59 +2050,7 @@ paths: "updateTimestamp": "2024-03-22T08:55:00", }, ], - "_links": - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates", - "method": "GET", - }, - "next": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates?offset=20", - "method": "GET", - }, - }, - } - getDirectDebitMandateWithNextPageandPreviousPage: - value: - { - "directDebitMandates": - [ - { - "directDebitMandateId": 71, - "customerProfileId": 12, - "billingInformationId": 51, - "directDebitMandateType": - { - "directDebitMandateTypeId": 1, - "name": "import", - "description": "import", - }, - "created": "2024-03-22T08:55:00", - "mandateReference": "CORE01", - "mandateState": "SIGNED", - "updateTimestamp": "2024-03-22T08:55:00", - }, - ], - "_links": - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates?offset=20", - "method": "GET", - }, - "prev": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates", - "method": "GET", - }, - "next": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates?offset=40", - "method": "GET", - }, - }, + "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates?offset=20&limit=20" } /billingInformation/{billingInformationId}/directdebitmandates: post: From f198c1633b59fc58cb3af8208ef83dde9a6f01bc Mon Sep 17 00:00:00 2001 From: Max Martens Date: Tue, 19 May 2026 17:29:40 +0200 Subject: [PATCH 3/3] Default false for isEmailVerified --- src/openapi/customers/customers-crud-v2.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index 323e723..d517ab6 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -243,7 +243,7 @@ paths: suffix: PhD dateOfBirth: "2002-10-29" emailAddresses: TEST@HTM.NL - isEmailVerified: True + isEmailVerified: false addresses: - addressId: 1 street: mystreet @@ -369,7 +369,7 @@ paths: suffix: PhD dateOfBirth: "2002-10-29" emailAddresses: TEST@HTM.NL - isEmailVerified: False + isEmailVerified: false address: - addressId: 1 street: mystreet @@ -493,7 +493,7 @@ paths: suffix: PhD dateOfBirth: "2002-10-29" emailAddresses: TEST@HTM.NL - isEmailVerified: False + isEmailVerified: false addresses: - addressId: 1 street: mystreet @@ -621,7 +621,7 @@ paths: suffix: PhD dateOfBirth: "2002-10-29" emailAddresses: TEST@HTM.NL - isEmailVerified: True + isEmailVerified: false addresses: - addressId: 1 street: mystreet @@ -772,7 +772,7 @@ paths: suffix: jr dateOfBirth: "1970-01-01" emailAddress: j.jansen@hatseflats.nl - isEmailVerified: False + isEmailVerified: false addresses: - street: Laan van Meerdervoort houseNumber: 5 @@ -871,7 +871,7 @@ paths: suffix: "jr", dateOfBirth: "1970-01-01", emailAddress: "TEST@TEST1.NL", - isEmailVerified: False + isEmailVerified: false } updateCompleteEntity: value: @@ -883,7 +883,7 @@ paths: suffix: "jr", dateOfBirth: "1970-01-01", emailAddress: "TEST@TEST1.NL", - isEmailVerified: True + isEmailVerified: false } required: true responses: @@ -2706,7 +2706,7 @@ components: emailAddress: type: string isEmailVerified: - type: string + type: boolean postOvPayTokenResponse: type: object properties: