From 74236413228fd648116ac0e08c581b3cd0fd7475 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 31 Oct 2022 16:30:10 -0100 Subject: [PATCH] Bug 32030: Max document file size - REST API spec Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/paths/erm_agreements.yaml | 8 ++++++++ api/v1/swagger/paths/erm_licenses.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/api/v1/swagger/paths/erm_agreements.yaml b/api/v1/swagger/paths/erm_agreements.yaml index 2f3e7e3f1c..36eab29a5b 100644 --- a/api/v1/swagger/paths/erm_agreements.yaml +++ b/api/v1/swagger/paths/erm_agreements.yaml @@ -137,6 +137,10 @@ description: Conflict in creating resource schema: $ref: "../swagger.yaml#/definitions/error" + 413: + description: Payload too large + schema: + $ref: "../swagger.yaml#/definitions/error" 500: description: |- Internal server error. Possible `error_code` attribute values: @@ -244,6 +248,10 @@ description: Conflict in updating resource schema: $ref: "../swagger.yaml#/definitions/error" + 413: + description: Payload too large + schema: + $ref: "../swagger.yaml#/definitions/error" 500: description: |- Internal server error. Possible `error_code` attribute values: diff --git a/api/v1/swagger/paths/erm_licenses.yaml b/api/v1/swagger/paths/erm_licenses.yaml index 5fc40e2789..13b003ddb0 100644 --- a/api/v1/swagger/paths/erm_licenses.yaml +++ b/api/v1/swagger/paths/erm_licenses.yaml @@ -122,6 +122,10 @@ description: Conflict in creating resource schema: $ref: "../swagger.yaml#/definitions/error" + 413: + description: Payload too large + schema: + $ref: "../swagger.yaml#/definitions/error" 500: description: |- Internal server error. Possible `error_code` attribute values: @@ -220,6 +224,10 @@ description: conflict in updating resource schema: $ref: "../swagger.yaml#/definitions/error" + 413: + description: Payload too large + schema: + $ref: "../swagger.yaml#/definitions/error" 500: description: |- internal server error. possible `error_code` attribute values: -- 2.39.2