From 2a387b55c29db7bbeb3e7fbfd16e2cc354dd9c8e Mon Sep 17 00:00:00 2001 From: RobertIdeal Date: Tue, 28 Oct 2025 15:20:21 +0000 Subject: [PATCH 1/2] fix(Austria): Change Array Handling --- dist/openapi.json | 65 ++++++++++++++++++++++++++++++++--------------- dist/openapi.yaml | 54 ++++++++++++++++++++++++--------------- openapi.ts | 62 ++++++++++++++++++++++---------------------- 3 files changed, 108 insertions(+), 73 deletions(-) diff --git a/dist/openapi.json b/dist/openapi.json index 2cff0f4..a1e1931 100644 --- a/dist/openapi.json +++ b/dist/openapi.json @@ -9810,7 +9810,10 @@ "description": "Building Function Code, see ReadMe for details\n" }, { - "type": "string[]", + "type": "array", + "items": { + "type": "string" + }, "description": "Array containing all Building Function Codes related to address\n" } ] @@ -10098,8 +10101,10 @@ }, "thoroughfare": { "type": "string", - "description": "Street name", - "example": "Georgia Ave" + "description": "Not available for non-UK addresses", + "enum": [ + "" + ] }, "dependant_thoroughfare": { "type": "string", @@ -10110,18 +10115,24 @@ }, "building_number": { "type": "string", - "description": "Address or house number", - "example": "2" + "description": "Not available for non-UK addresses", + "enum": [ + "" + ] }, "building_name": { "type": "string", - "description": "Name of the building associated with the address", - "example": "Holland House" + "description": "Not available for non-UK addresses", + "enum": [ + "" + ] }, "sub_building_name": { "type": "string", - "description": "Name of the sub-building associated with the address", - "example": "Kingscourt Post Office" + "description": "Not available for non-UK addresses", + "enum": [ + "" + ] }, "premise": { "type": "string", @@ -10132,8 +10143,10 @@ }, "po_box": { "type": "string", - "description": "PO Box number", - "example": "100" + "description": "Not available for non-UK addresses", + "enum": [ + "" + ] }, "department_name": { "type": "string", @@ -10144,8 +10157,10 @@ }, "organisation_name": { "type": "string", - "description": "Name of the company or organisation associated with the address", - "example": "Farrell's Gift Shop" + "description": "Not available for non-UK addresses", + "enum": [ + "" + ] }, "udprn": { "type": "string", @@ -12638,13 +12653,17 @@ }, "primary_number": { "type": "string", - "description": "House number or PO Box number", - "example": "10" + "description": "Not available for non-US addresses", + "enum": [ + "" + ] }, "secondary_number": { "type": "string", - "description": "Unit or apartment number", - "example": "4" + "description": "Not available for non-US addresses", + "enum": [ + "" + ] }, "plus_4_code": { "type": "string", @@ -12706,8 +12725,10 @@ }, "street_name": { "type": "string", - "description": "Street name", - "example": "Harvey St" + "description": "Not available for non-US addresses", + "enum": [ + "" + ] }, "street_suffix_abbreviation": { "type": "string", @@ -12725,8 +12746,10 @@ }, "building_or_firm_name": { "type": "string", - "description": "Name of the company or building associated with the address", - "example": "Cooper Ltd" + "description": "Not available for non-US addresses", + "enum": [ + "" + ] }, "address_secondary_abbreviation": { "type": "string", diff --git a/dist/openapi.yaml b/dist/openapi.yaml index 417689d..bd492d4 100644 --- a/dist/openapi.yaml +++ b/dist/openapi.yaml @@ -9466,7 +9466,9 @@ components: - type: string description: | Building Function Code, see ReadMe for details - - type: string[] + - type: array + items: + type: string description: | Array containing all Building Function Codes related to address hauptadresse: @@ -9687,8 +9689,9 @@ components: - '' thoroughfare: type: string - description: Street name - example: Georgia Ave + description: Not available for non-UK addresses + enum: + - '' dependant_thoroughfare: type: string description: Not available for non-UK addresses @@ -9696,16 +9699,19 @@ components: - '' building_number: type: string - description: Address or house number - example: '2' + description: Not available for non-UK addresses + enum: + - '' building_name: type: string - description: Name of the building associated with the address - example: Holland House + description: Not available for non-UK addresses + enum: + - '' sub_building_name: type: string - description: Name of the sub-building associated with the address - example: Kingscourt Post Office + description: Not available for non-UK addresses + enum: + - '' premise: type: string description: Not available for non-UK addresses @@ -9713,8 +9719,9 @@ components: - '' po_box: type: string - description: PO Box number - example: '100' + description: Not available for non-UK addresses + enum: + - '' department_name: type: string description: Not available for non-UK addresses @@ -9722,8 +9729,9 @@ components: - '' organisation_name: type: string - description: Name of the company or organisation associated with the address - example: Farrell's Gift Shop + description: Not available for non-UK addresses + enum: + - '' udprn: type: string description: Not available for non-UK addresses. See `id` for address identifier @@ -11756,12 +11764,14 @@ components: $ref: '#/components/schemas/Language' primary_number: type: string - description: House number or PO Box number - example: '10' + description: Not available for non-US addresses + enum: + - '' secondary_number: type: string - description: Unit or apartment number - example: '4' + description: Not available for non-US addresses + enum: + - '' plus_4_code: type: string description: Not available for non-US addresses @@ -11806,8 +11816,9 @@ components: - '' street_name: type: string - description: Street name - example: Harvey St + description: Not available for non-US addresses + enum: + - '' street_suffix_abbreviation: type: string description: Not available for non-US addresses @@ -11820,8 +11831,9 @@ components: - '' building_or_firm_name: type: string - description: Name of the company or building associated with the address - example: Cooper Ltd + description: Not available for non-US addresses + enum: + - '' address_secondary_abbreviation: type: string description: Not available for non-US addresses diff --git a/openapi.ts b/openapi.ts index 6a6d50a..eac8aa5 100644 --- a/openapi.ts +++ b/openapi.ts @@ -5827,7 +5827,7 @@ export interface components { subcd: string; /** @description Object Number of the building */ objektnummer: string; - objfunktkennziffer: string | unknown; + objfunktkennziffer: string | string[]; hauptadresse: string | number; /** @description House number 2nd connection - Stg. = Staircase, Obj. = Property, Parz. = Parcel */ hausnrverbindung2: string; @@ -5951,50 +5951,50 @@ export interface components { */ double_dependant_locality: ""; /** - * @description Street name - * @example Georgia Ave + * @description Not available for non-UK addresses + * @enum {string} */ - thoroughfare: string; + thoroughfare: ""; /** * @description Not available for non-UK addresses * @enum {string} */ dependant_thoroughfare: ""; /** - * @description Address or house number - * @example 2 + * @description Not available for non-UK addresses + * @enum {string} */ - building_number: string; + building_number: ""; /** - * @description Name of the building associated with the address - * @example Holland House + * @description Not available for non-UK addresses + * @enum {string} */ - building_name: string; + building_name: ""; /** - * @description Name of the sub-building associated with the address - * @example Kingscourt Post Office + * @description Not available for non-UK addresses + * @enum {string} */ - sub_building_name: string; + sub_building_name: ""; /** * @description Not available for non-UK addresses * @enum {string} */ premise: ""; /** - * @description PO Box number - * @example 100 + * @description Not available for non-UK addresses + * @enum {string} */ - po_box: string; + po_box: ""; /** * @description Not available for non-UK addresses * @enum {string} */ department_name: ""; /** - * @description Name of the company or organisation associated with the address - * @example Farrell's Gift Shop + * @description Not available for non-UK addresses + * @enum {string} */ - organisation_name: string; + organisation_name: ""; /** @description Not available for non-UK addresses. See `id` for address identifier */ udprn: string; /** @@ -7612,15 +7612,15 @@ export interface components { country_iso_2: components["schemas"]["CountryISO2"]; language: components["schemas"]["Language"]; /** - * @description House number or PO Box number - * @example 10 + * @description Not available for non-US addresses + * @enum {string} */ - primary_number: string; + primary_number: ""; /** - * @description Unit or apartment number - * @example 4 + * @description Not available for non-US addresses + * @enum {string} */ - secondary_number: string; + secondary_number: ""; /** * @description Not available for non-US addresses * @enum {string} @@ -7660,10 +7660,10 @@ export interface components { */ street_pre_directional_abbreviation: ""; /** - * @description Street name - * @example Harvey St + * @description Not available for non-US addresses + * @enum {string} */ - street_name: string; + street_name: ""; /** * @description Not available for non-US addresses * @enum {string} @@ -7675,10 +7675,10 @@ export interface components { */ street_post_directional_abbreviation: ""; /** - * @description Name of the company or building associated with the address - * @example Cooper Ltd + * @description Not available for non-US addresses + * @enum {string} */ - building_or_firm_name: string; + building_or_firm_name: ""; /** * @description Not available for non-US addresses * @enum {string} From 6998bd38e263001320b6bacf577a97a619f4d168 Mon Sep 17 00:00:00 2001 From: RobertIdeal Date: Tue, 28 Oct 2025 15:24:32 +0000 Subject: [PATCH 2/2] running make command after pulling master --- dist/openapi.json | 60 ++++++++++++++++------------------------------- dist/openapi.yaml | 50 ++++++++++++++++----------------------- openapi.ts | 60 +++++++++++++++++++++++------------------------ 3 files changed, 70 insertions(+), 100 deletions(-) diff --git a/dist/openapi.json b/dist/openapi.json index a1e1931..c8acf23 100644 --- a/dist/openapi.json +++ b/dist/openapi.json @@ -10101,10 +10101,8 @@ }, "thoroughfare": { "type": "string", - "description": "Not available for non-UK addresses", - "enum": [ - "" - ] + "description": "Street name", + "example": "Georgia Ave" }, "dependant_thoroughfare": { "type": "string", @@ -10115,24 +10113,18 @@ }, "building_number": { "type": "string", - "description": "Not available for non-UK addresses", - "enum": [ - "" - ] + "description": "Address or house number", + "example": "2" }, "building_name": { "type": "string", - "description": "Not available for non-UK addresses", - "enum": [ - "" - ] + "description": "Name of the building associated with the address", + "example": "Holland House" }, "sub_building_name": { "type": "string", - "description": "Not available for non-UK addresses", - "enum": [ - "" - ] + "description": "Name of the sub-building associated with the address", + "example": "Kingscourt Post Office" }, "premise": { "type": "string", @@ -10143,10 +10135,8 @@ }, "po_box": { "type": "string", - "description": "Not available for non-UK addresses", - "enum": [ - "" - ] + "description": "PO Box number", + "example": "100" }, "department_name": { "type": "string", @@ -10157,10 +10147,8 @@ }, "organisation_name": { "type": "string", - "description": "Not available for non-UK addresses", - "enum": [ - "" - ] + "description": "Name of the company or organisation associated with the address", + "example": "Farrell's Gift Shop" }, "udprn": { "type": "string", @@ -12653,17 +12641,13 @@ }, "primary_number": { "type": "string", - "description": "Not available for non-US addresses", - "enum": [ - "" - ] + "description": "House number or PO Box number", + "example": "10" }, "secondary_number": { "type": "string", - "description": "Not available for non-US addresses", - "enum": [ - "" - ] + "description": "Unit or apartment number", + "example": "4" }, "plus_4_code": { "type": "string", @@ -12725,10 +12709,8 @@ }, "street_name": { "type": "string", - "description": "Not available for non-US addresses", - "enum": [ - "" - ] + "description": "Street name", + "example": "Harvey St" }, "street_suffix_abbreviation": { "type": "string", @@ -12746,10 +12728,8 @@ }, "building_or_firm_name": { "type": "string", - "description": "Not available for non-US addresses", - "enum": [ - "" - ] + "description": "Name of the company or building associated with the address", + "example": "Cooper Ltd" }, "address_secondary_abbreviation": { "type": "string", diff --git a/dist/openapi.yaml b/dist/openapi.yaml index bd492d4..30949e2 100644 --- a/dist/openapi.yaml +++ b/dist/openapi.yaml @@ -9689,9 +9689,8 @@ components: - '' thoroughfare: type: string - description: Not available for non-UK addresses - enum: - - '' + description: Street name + example: Georgia Ave dependant_thoroughfare: type: string description: Not available for non-UK addresses @@ -9699,19 +9698,16 @@ components: - '' building_number: type: string - description: Not available for non-UK addresses - enum: - - '' + description: Address or house number + example: '2' building_name: type: string - description: Not available for non-UK addresses - enum: - - '' + description: Name of the building associated with the address + example: Holland House sub_building_name: type: string - description: Not available for non-UK addresses - enum: - - '' + description: Name of the sub-building associated with the address + example: Kingscourt Post Office premise: type: string description: Not available for non-UK addresses @@ -9719,9 +9715,8 @@ components: - '' po_box: type: string - description: Not available for non-UK addresses - enum: - - '' + description: PO Box number + example: '100' department_name: type: string description: Not available for non-UK addresses @@ -9729,9 +9724,8 @@ components: - '' organisation_name: type: string - description: Not available for non-UK addresses - enum: - - '' + description: Name of the company or organisation associated with the address + example: Farrell's Gift Shop udprn: type: string description: Not available for non-UK addresses. See `id` for address identifier @@ -11764,14 +11758,12 @@ components: $ref: '#/components/schemas/Language' primary_number: type: string - description: Not available for non-US addresses - enum: - - '' + description: House number or PO Box number + example: '10' secondary_number: type: string - description: Not available for non-US addresses - enum: - - '' + description: Unit or apartment number + example: '4' plus_4_code: type: string description: Not available for non-US addresses @@ -11816,9 +11808,8 @@ components: - '' street_name: type: string - description: Not available for non-US addresses - enum: - - '' + description: Street name + example: Harvey St street_suffix_abbreviation: type: string description: Not available for non-US addresses @@ -11831,9 +11822,8 @@ components: - '' building_or_firm_name: type: string - description: Not available for non-US addresses - enum: - - '' + description: Name of the company or building associated with the address + example: Cooper Ltd address_secondary_abbreviation: type: string description: Not available for non-US addresses diff --git a/openapi.ts b/openapi.ts index eac8aa5..f5d5d1e 100644 --- a/openapi.ts +++ b/openapi.ts @@ -5951,50 +5951,50 @@ export interface components { */ double_dependant_locality: ""; /** - * @description Not available for non-UK addresses - * @enum {string} + * @description Street name + * @example Georgia Ave */ - thoroughfare: ""; + thoroughfare: string; /** * @description Not available for non-UK addresses * @enum {string} */ dependant_thoroughfare: ""; /** - * @description Not available for non-UK addresses - * @enum {string} + * @description Address or house number + * @example 2 */ - building_number: ""; + building_number: string; /** - * @description Not available for non-UK addresses - * @enum {string} + * @description Name of the building associated with the address + * @example Holland House */ - building_name: ""; + building_name: string; /** - * @description Not available for non-UK addresses - * @enum {string} + * @description Name of the sub-building associated with the address + * @example Kingscourt Post Office */ - sub_building_name: ""; + sub_building_name: string; /** * @description Not available for non-UK addresses * @enum {string} */ premise: ""; /** - * @description Not available for non-UK addresses - * @enum {string} + * @description PO Box number + * @example 100 */ - po_box: ""; + po_box: string; /** * @description Not available for non-UK addresses * @enum {string} */ department_name: ""; /** - * @description Not available for non-UK addresses - * @enum {string} + * @description Name of the company or organisation associated with the address + * @example Farrell's Gift Shop */ - organisation_name: ""; + organisation_name: string; /** @description Not available for non-UK addresses. See `id` for address identifier */ udprn: string; /** @@ -7612,15 +7612,15 @@ export interface components { country_iso_2: components["schemas"]["CountryISO2"]; language: components["schemas"]["Language"]; /** - * @description Not available for non-US addresses - * @enum {string} + * @description House number or PO Box number + * @example 10 */ - primary_number: ""; + primary_number: string; /** - * @description Not available for non-US addresses - * @enum {string} + * @description Unit or apartment number + * @example 4 */ - secondary_number: ""; + secondary_number: string; /** * @description Not available for non-US addresses * @enum {string} @@ -7660,10 +7660,10 @@ export interface components { */ street_pre_directional_abbreviation: ""; /** - * @description Not available for non-US addresses - * @enum {string} + * @description Street name + * @example Harvey St */ - street_name: ""; + street_name: string; /** * @description Not available for non-US addresses * @enum {string} @@ -7675,10 +7675,10 @@ export interface components { */ street_post_directional_abbreviation: ""; /** - * @description Not available for non-US addresses - * @enum {string} + * @description Name of the company or building associated with the address + * @example Cooper Ltd */ - building_or_firm_name: ""; + building_or_firm_name: string; /** * @description Not available for non-US addresses * @enum {string}