From a30f04224140972d59c26f496f402ff31934cb9e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 24 Feb 2026 13:04:10 +0000 Subject: [PATCH] Bug 14962: (QA follow-up) Fix display_name type and required mismatch in OpenAPI definition The database defines display_name as varchar(255) DEFAULT NULL (nullable), but the OpenAPI definition declared it as a non-nullable string and listed it in the required array. This contradicted the schema. Allow null for display_name and remove it from required to match the actual database column definition. Sponsored-by: ByWater Solutions Signed-of-by: Martin Renvoize --- api/v1/swagger/definitions/display.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/v1/swagger/definitions/display.yaml b/api/v1/swagger/definitions/display.yaml index 9b548514a30..b73cac45ce3 100644 --- a/api/v1/swagger/definitions/display.yaml +++ b/api/v1/swagger/definitions/display.yaml @@ -7,7 +7,9 @@ properties: readOnly: true display_name: description: display name - type: string + type: + - string + - "null" start_date: description: display start date type: @@ -97,6 +99,5 @@ properties: - "null" additionalProperties: false required: - - display_name - enabled - display_return_over -- 2.50.1 (Apple Git-155)