From 79ae693464f857673a5598a1f9536e1d24df150f Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Fri, 25 Jul 2025 09:34:30 +0100 Subject: [PATCH] Bug 40512: Add maxLength to erm agreements --- api/v1/swagger/definitions/erm_agreement.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/v1/swagger/definitions/erm_agreement.yaml b/api/v1/swagger/definitions/erm_agreement.yaml index d355d69b3c1..7e064c4e1d5 100644 --- a/api/v1/swagger/definitions/erm_agreement.yaml +++ b/api/v1/swagger/definitions/erm_agreement.yaml @@ -13,6 +13,7 @@ properties: name: description: name of the agreement type: string + maxLength: 255 description: description: description of the agreement type: @@ -21,11 +22,13 @@ properties: status: description: current status of the agreement type: string + maxLength: 80 closure_reason: description: reason of the closure type: - string - "null" + maxLength: 80 is_perpetual: description: is the agreement perpetual type: boolean @@ -34,6 +37,7 @@ properties: type: - string - "null" + maxLength: 80 license_info: description: info about the license type: -- 2.48.1