From cf857ffb02757cd65cc6df60183a1af09860b13e Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 9 Jun 2025 19:41:40 -0300 Subject: [PATCH] Bug 39657: Spec changes Signed-off-by: Kristi Krueger Signed-off-by: Martin Renvoize Signed-off-by: Lucas Gass (cherry picked from commit 3c1df8b26b7b32cc81e51f48a1cce20975a94ff4) Signed-off-by: Paul Derscheid --- api/v1/swagger/paths/holds.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/api/v1/swagger/paths/holds.yaml b/api/v1/swagger/paths/holds.yaml index cac6627018..4fe775fb36 100644 --- a/api/v1/swagger/paths/holds.yaml +++ b/api/v1/swagger/paths/holds.yaml @@ -221,6 +221,12 @@ type: string enum: - any + - bad_address + - card_lost + - debt_limit + - expired + - hold_limit + - restricted collectionFormat: csv consumes: - application/json @@ -247,6 +253,18 @@ description: Borrower not found schema: $ref: "../swagger.yaml#/definitions/error" + "409": + description: | + Conflict. Possible `error_code` attribute values: + + * `bad_address` + * `card_lost` + * `debt_limit` + * `expired` + * `hold_limit` + * `restricted` + schema: + $ref: "../swagger.yaml#/definitions/error" "500": description: | Internal server error. Possible `error_code` attribute values: