diff --git a/openapi/openapi_external.json b/openapi/openapi_external.json index c6f24972..a813d8b1 100644 --- a/openapi/openapi_external.json +++ b/openapi/openapi_external.json @@ -173,8 +173,8 @@ } ], "responses": { - "403": { - "description": "Forbidden", + "200": { + "description": "Obtained all organization payment positions.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -185,20 +185,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionsInfo" } } } }, - "200": { - "description": "Obtained all organization payment positions.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -209,14 +203,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionsInfo" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "429": { - "description": "Too many requests.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -226,8 +221,8 @@ } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -244,8 +239,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "429": { + "description": "Too many requests.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -255,8 +250,8 @@ } } }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -320,8 +315,8 @@ "required": true }, "responses": { - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict: duplicate debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -332,20 +327,25 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "409": { - "description": "Conflict: duplicate debt position found.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -356,8 +356,9 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } @@ -380,8 +381,8 @@ } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -398,19 +399,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -478,8 +468,8 @@ } ], "responses": { - "403": { - "description": "Forbidden", + "200": { + "description": "Obtained debt position details.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -490,20 +480,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" } } } }, - "200": { - "description": "Obtained debt position details.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -511,17 +495,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" - } - } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -532,14 +509,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -547,10 +525,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -623,8 +608,8 @@ "required": true }, "responses": { - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -632,13 +617,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "200": { @@ -659,8 +637,8 @@ } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -671,14 +649,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -695,8 +674,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -704,10 +683,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -718,20 +704,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -805,8 +785,8 @@ } } }, - "404": { - "description": "No debt position position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -814,17 +794,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, - "409": { - "description": "Conflict: existing related payment found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -835,14 +808,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "404": { + "description": "No debt position position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -850,10 +824,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -864,20 +845,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -943,8 +918,8 @@ } ], "responses": { - "404": { - "description": "No debt position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -952,13 +927,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "409": { @@ -979,8 +947,8 @@ } } }, - "200": { - "description": "Request published.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -991,14 +959,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModel" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1006,10 +975,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "200": { + "description": "Request published.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1020,20 +996,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModel" } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1099,8 +1069,19 @@ } ], "responses": { - "409": { - "description": "Conflict: debt position is not in invalidable state.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1111,14 +1092,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "404": { - "description": "No debt position found.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1153,19 +1135,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict: debt position is not in invalidable state.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1176,20 +1147,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1277,8 +1242,19 @@ "required": true }, "responses": { - "400": { - "description": "Malformed request.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1289,14 +1265,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "200": { - "description": "IBANs updated", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1308,13 +1285,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateTransferIbanMassiveResponse" + "$ref": "#/components/schemas/ProblemJson" } } } }, - "401": { - "description": "Wrong or missing function key.", + "200": { + "description": "IBANs updated", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1322,10 +1299,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateTransferIbanMassiveResponse" + } + } } }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", diff --git a/openapi/openapi_external_massive.json b/openapi/openapi_external_massive.json index 4af20f41..238b8946 100644 --- a/openapi/openapi_external_massive.json +++ b/openapi/openapi_external_massive.json @@ -76,8 +76,8 @@ "required": true }, "responses": { - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -85,13 +85,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "403": { @@ -106,20 +99,15 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -136,8 +124,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "200": { + "description": "Debt Positions updated.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -147,8 +135,8 @@ } } }, - "200": { - "description": "Debt Positions updated.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -156,10 +144,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -215,8 +210,8 @@ "required": true }, "responses": { - "400": { - "description": "Malformed request.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -224,9 +219,6 @@ "type": "string" } } - }, - "content": { - "application/json": {} } }, "403": { @@ -241,20 +233,15 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "500": { - "description": "Service unavailable.", + "200": { + "description": "Debt Positions deleted.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -264,11 +251,15 @@ } }, "content": { - "application/json": {} + "application/json": { + "schema": { + "type": "string" + } + } } }, - "200": { - "description": "Debt Positions deleted.", + "404": { + "description": "Payment Position not found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -278,15 +269,11 @@ } }, "content": { - "application/json": { - "schema": { - "type": "string" - } - } + "application/json": {} } }, - "404": { - "description": "Payment Position not found.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -299,8 +286,8 @@ "application/json": {} } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -308,6 +295,9 @@ "type": "string" } } + }, + "content": { + "application/json": {} } } }, @@ -382,8 +372,8 @@ "required": true }, "responses": { - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict: duplicate debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -394,20 +384,25 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "409": { - "description": "Conflict: duplicate debt position found.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -418,8 +413,9 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } @@ -435,8 +431,8 @@ } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -453,19 +449,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", diff --git a/openapi/openapi_external_v3.json b/openapi/openapi_external_v3.json index a03369dc..78612e47 100644 --- a/openapi/openapi_external_v3.json +++ b/openapi/openapi_external_v3.json @@ -56,8 +56,8 @@ } } ], "responses" : { - "403" : { - "description" : "Forbidden", + "200" : { + "description" : "Obtained debt position details.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -68,20 +68,14 @@ }, "content" : { "application/json" : { - "examples" : { - "forbidden" : { - "description" : "forbidden", - "value" : { - "statusCode" : 403, - "message" : "You are not allowed to access this resource." - } - } + "schema" : { + "$ref" : "#/components/schemas/PaymentPositionModelResponseV3" } } } }, - "200" : { - "description" : "Obtained debt position details.", + "401" : { + "description" : "Wrong or missing function key.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -89,17 +83,10 @@ "type" : "string" } } - }, - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PaymentPositionModelResponseV3" - } - } } }, - "404" : { - "description" : "No debt position found.", + "403" : { + "description" : "Forbidden", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -110,14 +97,15 @@ }, "content" : { "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "example" : { + "statusCode" : 403, + "message" : "You are not allowed to access this resource." } } } }, - "401" : { - "description" : "Wrong or missing function key.", + "500" : { + "description" : "Service unavailable.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -125,10 +113,17 @@ "type" : "string" } } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" + } + } } }, - "500" : { - "description" : "Service unavailable.", + "404" : { + "description" : "No debt position found.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -190,8 +185,8 @@ "required" : true }, "responses" : { - "409" : { - "description" : "Conflict: existing related payment found.", + "401" : { + "description" : "Wrong or missing function key.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -199,13 +194,6 @@ "type" : "string" } } - }, - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" - } - } } }, "200" : { @@ -226,8 +214,8 @@ } } }, - "404" : { - "description" : "No debt position found.", + "403" : { + "description" : "Forbidden", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -238,14 +226,15 @@ }, "content" : { "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "example" : { + "statusCode" : 403, + "message" : "You are not allowed to access this resource." } } } }, - "400" : { - "description" : "Malformed request.", + "500" : { + "description" : "Service unavailable.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -262,8 +251,8 @@ } } }, - "401" : { - "description" : "Wrong or missing function key.", + "400" : { + "description" : "Malformed request.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -271,10 +260,17 @@ "type" : "string" } } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" + } + } } }, - "403" : { - "description" : "Forbidden", + "404" : { + "description" : "No debt position found.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -285,20 +281,14 @@ }, "content" : { "application/json" : { - "examples" : { - "forbidden" : { - "description" : "forbidden", - "value" : { - "statusCode" : 403, - "message" : "You are not allowed to access this resource." - } - } + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" } } } }, - "500" : { - "description" : "Service unavailable.", + "409" : { + "description" : "Conflict: existing related payment found.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -362,8 +352,8 @@ } } }, - "404" : { - "description" : "No debt position position found.", + "401" : { + "description" : "Wrong or missing function key.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -371,17 +361,10 @@ "type" : "string" } } - }, - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" - } - } } }, - "409" : { - "description" : "Conflict: existing related payment found.", + "403" : { + "description" : "Forbidden", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -392,14 +375,15 @@ }, "content" : { "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "example" : { + "statusCode" : 403, + "message" : "You are not allowed to access this resource." } } } }, - "403" : { - "description" : "Forbidden", + "404" : { + "description" : "No debt position position found.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -410,20 +394,14 @@ }, "content" : { "application/json" : { - "examples" : { - "forbidden" : { - "description" : "forbidden", - "value" : { - "statusCode" : 403, - "message" : "You are not allowed to access this resource." - } - } + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" } } } }, - "401" : { - "description" : "Wrong or missing function key.", + "500" : { + "description" : "Service unavailable.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -431,10 +409,17 @@ "type" : "string" } } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" + } + } } }, - "500" : { - "description" : "Service unavailable.", + "409" : { + "description" : "Conflict: existing related payment found.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -567,6 +552,17 @@ } } ], "responses" : { + "401" : { + "description" : "Wrong or missing function key.", + "headers" : { + "X-Request-Id" : { + "description" : "This header identifies the call", + "schema" : { + "type" : "string" + } + } + } + }, "403" : { "description" : "Forbidden", "headers" : { @@ -579,20 +575,15 @@ }, "content" : { "application/json" : { - "examples" : { - "forbidden" : { - "description" : "forbidden", - "value" : { - "statusCode" : 403, - "message" : "You are not allowed to access this resource." - } - } + "example" : { + "statusCode" : 403, + "message" : "You are not allowed to access this resource." } } } }, - "429" : { - "description" : "Too many requests.", + "500" : { + "description" : "Service unavailable.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -600,10 +591,17 @@ "type" : "string" } } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" + } + } } }, - "200" : { - "description" : "Obtained all organization payment positions.", + "429" : { + "description" : "Too many requests.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -611,13 +609,6 @@ "type" : "string" } } - }, - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PaymentPositionsInfoV3" - } - } } }, "400" : { @@ -638,19 +629,8 @@ } } }, - "401" : { - "description" : "Wrong or missing function key.", - "headers" : { - "X-Request-Id" : { - "description" : "This header identifies the call", - "schema" : { - "type" : "string" - } - } - } - }, - "500" : { - "description" : "Service unavailable.", + "200" : { + "description" : "Obtained all organization payment positions.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -662,7 +642,7 @@ "content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "$ref" : "#/components/schemas/PaymentPositionsInfoV3" } } } @@ -714,8 +694,8 @@ "required" : true }, "responses" : { - "403" : { - "description" : "Forbidden", + "409" : { + "description" : "Conflict: duplicate debt position found.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -726,20 +706,25 @@ }, "content" : { "application/json" : { - "examples" : { - "forbidden" : { - "description" : "forbidden", - "value" : { - "statusCode" : 403, - "message" : "You are not allowed to access this resource." - } - } + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" } } } }, - "409" : { - "description" : "Conflict: duplicate debt position found.", + "401" : { + "description" : "Wrong or missing function key.", + "headers" : { + "X-Request-Id" : { + "description" : "This header identifies the call", + "schema" : { + "type" : "string" + } + } + } + }, + "403" : { + "description" : "Forbidden", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -750,8 +735,9 @@ }, "content" : { "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "example" : { + "statusCode" : 403, + "message" : "You are not allowed to access this resource." } } } @@ -774,8 +760,8 @@ } } }, - "400" : { - "description" : "Malformed request.", + "500" : { + "description" : "Service unavailable.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -792,19 +778,8 @@ } } }, - "401" : { - "description" : "Wrong or missing function key.", - "headers" : { - "X-Request-Id" : { - "description" : "This header identifies the call", - "schema" : { - "type" : "string" - } - } - } - }, - "500" : { - "description" : "Service unavailable.", + "400" : { + "description" : "Malformed request.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -858,8 +833,8 @@ } } ], "responses" : { - "404" : { - "description" : "No debt position found.", + "401" : { + "description" : "Wrong or missing function key.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -867,13 +842,6 @@ "type" : "string" } } - }, - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" - } - } } }, "409" : { @@ -894,8 +862,8 @@ } } }, - "200" : { - "description" : "Request published.", + "403" : { + "description" : "Forbidden", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -906,14 +874,15 @@ }, "content" : { "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PaymentPositionModelV3" + "example" : { + "statusCode" : 403, + "message" : "You are not allowed to access this resource." } } } }, - "401" : { - "description" : "Wrong or missing function key.", + "500" : { + "description" : "Service unavailable.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -921,10 +890,17 @@ "type" : "string" } } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" + } + } } }, - "403" : { - "description" : "Forbidden", + "200" : { + "description" : "Request published.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -935,20 +911,14 @@ }, "content" : { "application/json" : { - "examples" : { - "forbidden" : { - "description" : "forbidden", - "value" : { - "statusCode" : 403, - "message" : "You are not allowed to access this resource." - } - } + "schema" : { + "$ref" : "#/components/schemas/PaymentPositionModelV3" } } } }, - "500" : { - "description" : "Service unavailable.", + "404" : { + "description" : "No debt position found.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", diff --git a/openapi/openapi_internal.json b/openapi/openapi_internal.json index 2e70a8f0..f1b32992 100644 --- a/openapi/openapi_internal.json +++ b/openapi/openapi_internal.json @@ -266,8 +266,8 @@ } ], "responses": { - "403": { - "description": "Forbidden", + "200": { + "description": "Obtained all organization payment positions.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -278,20 +278,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionsInfo" } } } }, - "200": { - "description": "Obtained all organization payment positions.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -302,14 +296,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionsInfo" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "429": { - "description": "Too many requests.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -319,8 +314,8 @@ } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -337,8 +332,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "429": { + "description": "Too many requests.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -348,8 +343,8 @@ } } }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -428,8 +423,8 @@ "required": true }, "responses": { - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict: duplicate debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -440,20 +435,25 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "409": { - "description": "Conflict: duplicate debt position found.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -464,8 +464,9 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } @@ -488,8 +489,8 @@ } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -506,19 +507,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -606,8 +596,19 @@ "required": true }, "responses": { - "400": { - "description": "Malformed request.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -618,14 +619,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "200": { - "description": "IBANs updated", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -637,13 +639,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateTransferIbanMassiveResponse" + "$ref": "#/components/schemas/ProblemJson" } } } }, - "401": { - "description": "Wrong or missing function key.", + "200": { + "description": "IBANs updated", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -651,10 +653,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateTransferIbanMassiveResponse" + } + } } }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -722,8 +731,8 @@ } ], "responses": { - "403": { - "description": "Forbidden", + "200": { + "description": "Obtained debt position details.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -734,20 +743,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" } } } }, - "200": { - "description": "Obtained debt position details.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -755,17 +758,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" - } - } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -776,14 +772,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -791,10 +788,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -867,8 +871,8 @@ "required": true }, "responses": { - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -876,13 +880,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "200": { @@ -903,8 +900,8 @@ } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -915,14 +912,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -939,8 +937,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -948,10 +946,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -962,20 +967,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1049,8 +1048,8 @@ } } }, - "404": { - "description": "No debt position position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1058,17 +1057,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, - "409": { - "description": "Conflict: existing related payment found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1079,14 +1071,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "404": { + "description": "No debt position position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1094,10 +1087,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1108,20 +1108,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1187,8 +1181,19 @@ } ], "responses": { - "409": { - "description": "Conflict: debt position is not in invalidable state.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1199,14 +1204,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "404": { - "description": "No debt position found.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1241,19 +1247,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict: debt position is not in invalidable state.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1264,20 +1259,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1343,8 +1332,8 @@ } ], "responses": { - "404": { - "description": "No debt position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1352,13 +1341,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "409": { @@ -1379,8 +1361,8 @@ } } }, - "200": { - "description": "Request published.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1391,14 +1373,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModel" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1406,10 +1389,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "200": { + "description": "Request published.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1420,20 +1410,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModel" } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1501,8 +1485,8 @@ } ], "responses": { - "400": { - "description": "Malformed request.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1510,9 +1494,6 @@ "type": "string" } } - }, - "content": { - "application/json": {} } }, "403": { @@ -1527,20 +1508,15 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "Payment Position not found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1553,8 +1529,8 @@ "application/json": {} } }, - "429": { - "description": "Too many requests.", + "200": { + "description": "Debt Positions updated.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1562,10 +1538,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" + } + } } }, - "404": { - "description": "Payment Position not found.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1578,8 +1561,8 @@ "application/json": {} } }, - "401": { - "description": "Wrong or missing function key.", + "429": { + "description": "Too many requests.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1589,8 +1572,8 @@ } } }, - "200": { - "description": "Debt Positions updated.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1600,11 +1583,7 @@ } }, "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" - } - } + "application/json": {} } } }, @@ -1683,8 +1662,8 @@ } } }, - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1692,17 +1671,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, - "400": { - "description": "Malformed request.", + "404": { + "description": "No transfer found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1719,8 +1691,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1728,10 +1700,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "404": { - "description": "No transfer found.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1748,8 +1727,8 @@ } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1817,8 +1796,8 @@ } ], "responses": { - "404": { - "description": "No payment option found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1826,13 +1805,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "200": { @@ -1853,8 +1825,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1862,10 +1834,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No payment option found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1941,8 +1920,8 @@ "required": true }, "responses": { - "404": { - "description": "No payment option found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1950,17 +1929,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, - "422": { - "description": "Unprocessable payment option.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1995,8 +1967,8 @@ } } }, - "400": { - "description": "Malformed request.", + "209": { + "description": "Request updated with a payment in progress.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2008,13 +1980,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProblemJson" + "$ref": "#/components/schemas/PaymentsModelResponse" } } } }, - "209": { - "description": "Request updated with a payment in progress.", + "422": { + "description": "Unprocessable payment option.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2026,13 +1998,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaymentsModelResponse" + "$ref": "#/components/schemas/ProblemJson" } } } }, - "401": { - "description": "Wrong or missing function key.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2040,10 +2012,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No payment option found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2119,8 +2098,8 @@ "required": true }, "responses": { - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2128,13 +2107,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "422": { @@ -2155,8 +2127,8 @@ } } }, - "404": { - "description": "No payment option found.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2173,8 +2145,8 @@ } } }, - "400": { - "description": "Malformed request.", + "200": { + "description": "Request paid.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2186,13 +2158,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProblemJson" + "$ref": "#/components/schemas/PaymentsModelResponse" } } } }, - "200": { - "description": "Request paid.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2204,24 +2176,31 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaymentsModelResponse" + "$ref": "#/components/schemas/ProblemJson" } } } }, - "401": { - "description": "Wrong or missing function key.", + "404": { + "description": "No payment option found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", "schema": { - "type": "string" + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2389,6 +2368,17 @@ } ], "responses": { + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, "403": { "description": "Forbidden", "headers": { @@ -2401,20 +2391,15 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2422,10 +2407,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "200": { - "description": "Obtained all organization payment positions.", + "429": { + "description": "Too many requests.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2433,13 +2425,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionsInfoV3" - } - } } }, "400": { @@ -2460,19 +2445,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "Service unavailable.", + "200": { + "description": "Obtained all organization payment positions.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2484,7 +2458,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProblemJson" + "$ref": "#/components/schemas/PaymentPositionsInfoV3" } } } @@ -2548,8 +2522,8 @@ "required": true }, "responses": { - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict: duplicate debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2560,20 +2534,25 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "409": { - "description": "Conflict: duplicate debt position found.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2584,8 +2563,9 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } @@ -2608,8 +2588,8 @@ } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2626,19 +2606,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2703,8 +2672,8 @@ } ], "responses": { - "403": { - "description": "Forbidden", + "200": { + "description": "Obtained debt position details.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2715,20 +2684,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModelResponseV3" } } } }, - "200": { - "description": "Obtained debt position details.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2736,17 +2699,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModelResponseV3" - } - } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2757,14 +2713,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2772,10 +2729,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2845,8 +2809,8 @@ "required": true }, "responses": { - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2854,13 +2818,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "200": { @@ -2881,8 +2838,8 @@ } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2893,14 +2850,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2917,8 +2875,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2926,10 +2884,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2940,20 +2905,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3024,8 +2983,8 @@ } } }, - "404": { - "description": "No debt position position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3033,17 +2992,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, - "409": { - "description": "Conflict: existing related payment found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3054,14 +3006,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "No debt position position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3072,20 +3025,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3093,10 +3040,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3159,8 +3113,8 @@ } ], "responses": { - "404": { - "description": "No debt position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3168,13 +3122,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "409": { @@ -3195,8 +3142,8 @@ } } }, - "200": { - "description": "Request published.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3207,14 +3154,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModelV3" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3222,10 +3170,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "200": { + "description": "Request published.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3236,20 +3191,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModelV3" } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", diff --git a/openapi/openapi_internal_massive.json b/openapi/openapi_internal_massive.json index 6741d157..b7c8df0f 100644 --- a/openapi/openapi_internal_massive.json +++ b/openapi/openapi_internal_massive.json @@ -266,8 +266,8 @@ } ], "responses": { - "403": { - "description": "Forbidden", + "200": { + "description": "Obtained all organization payment positions.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -278,20 +278,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionsInfo" } } } }, - "200": { - "description": "Obtained all organization payment positions.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -302,14 +296,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionsInfo" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "429": { - "description": "Too many requests.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -319,8 +314,8 @@ } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -337,8 +332,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "429": { + "description": "Too many requests.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -348,8 +343,8 @@ } } }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -413,8 +408,8 @@ "required": true }, "responses": { - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -422,13 +417,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "403": { @@ -443,20 +431,15 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -473,8 +456,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "200": { + "description": "Debt Positions updated.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -484,8 +467,8 @@ } } }, - "200": { - "description": "Debt Positions updated.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -493,10 +476,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -552,8 +542,8 @@ "required": true }, "responses": { - "400": { - "description": "Malformed request.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -561,9 +551,6 @@ "type": "string" } } - }, - "content": { - "application/json": {} } }, "403": { @@ -578,20 +565,15 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "500": { - "description": "Service unavailable.", + "200": { + "description": "Debt Positions deleted.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -601,11 +583,15 @@ } }, "content": { - "application/json": {} + "application/json": { + "schema": { + "type": "string" + } + } } }, - "200": { - "description": "Debt Positions deleted.", + "404": { + "description": "Payment Position not found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -615,15 +601,11 @@ } }, "content": { - "application/json": { - "schema": { - "type": "string" - } - } + "application/json": {} } }, - "404": { - "description": "Payment Position not found.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -636,8 +618,8 @@ "application/json": {} } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -645,6 +627,9 @@ "type": "string" } } + }, + "content": { + "application/json": {} } } }, @@ -719,8 +704,8 @@ "required": true }, "responses": { - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict: duplicate debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -731,20 +716,25 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "409": { - "description": "Conflict: duplicate debt position found.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -755,8 +745,9 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } @@ -772,8 +763,8 @@ } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -790,19 +781,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -880,8 +860,19 @@ "required": true }, "responses": { - "400": { - "description": "Malformed request.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -892,14 +883,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "200": { - "description": "IBANs updated", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -911,13 +903,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateTransferIbanMassiveResponse" + "$ref": "#/components/schemas/ProblemJson" } } } }, - "401": { - "description": "Wrong or missing function key.", + "200": { + "description": "IBANs updated", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -925,10 +917,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateTransferIbanMassiveResponse" + } + } } }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -996,8 +995,8 @@ } ], "responses": { - "403": { - "description": "Forbidden", + "200": { + "description": "Obtained debt position details.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1008,20 +1007,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" } } } }, - "200": { - "description": "Obtained debt position details.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1029,17 +1022,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" - } - } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1050,14 +1036,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1065,10 +1052,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1141,8 +1135,8 @@ "required": true }, "responses": { - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1150,13 +1144,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "200": { @@ -1177,8 +1164,8 @@ } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1189,14 +1176,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1213,8 +1201,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1222,10 +1210,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1236,20 +1231,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1323,8 +1312,8 @@ } } }, - "404": { - "description": "No debt position position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1332,17 +1321,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, - "409": { - "description": "Conflict: existing related payment found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1353,14 +1335,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "404": { + "description": "No debt position position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1368,10 +1351,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1382,20 +1372,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1458,11 +1442,22 @@ "schema": { "type": "string" } - } - ], - "responses": { - "409": { - "description": "Conflict: debt position is not in invalidable state.", + } + ], + "responses": { + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1473,14 +1468,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "404": { - "description": "No debt position found.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1515,19 +1511,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict: debt position is not in invalidable state.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1538,20 +1523,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1617,8 +1596,8 @@ } ], "responses": { - "404": { - "description": "No debt position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1626,13 +1605,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "409": { @@ -1653,8 +1625,8 @@ } } }, - "200": { - "description": "Request published.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1665,14 +1637,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModel" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1680,10 +1653,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "200": { + "description": "Request published.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1694,20 +1674,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModel" } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1775,8 +1749,8 @@ } ], "responses": { - "400": { - "description": "Malformed request.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1784,9 +1758,6 @@ "type": "string" } } - }, - "content": { - "application/json": {} } }, "403": { @@ -1801,20 +1772,15 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "Payment Position not found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1827,8 +1793,8 @@ "application/json": {} } }, - "429": { - "description": "Too many requests.", + "200": { + "description": "Debt Positions updated.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1836,10 +1802,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" + } + } } }, - "404": { - "description": "Payment Position not found.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1852,8 +1825,8 @@ "application/json": {} } }, - "401": { - "description": "Wrong or missing function key.", + "429": { + "description": "Too many requests.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1863,8 +1836,8 @@ } } }, - "200": { - "description": "Debt Positions updated.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1874,11 +1847,7 @@ } }, "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModelBaseResponse" - } - } + "application/json": {} } } }, @@ -1957,8 +1926,8 @@ } } }, - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1966,17 +1935,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, - "400": { - "description": "Malformed request.", + "404": { + "description": "No transfer found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -1993,8 +1955,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2002,10 +1964,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "404": { - "description": "No transfer found.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2022,8 +1991,8 @@ } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2091,8 +2060,8 @@ } ], "responses": { - "404": { - "description": "No payment option found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2100,13 +2069,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "200": { @@ -2127,8 +2089,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2136,10 +2098,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No payment option found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2215,8 +2184,8 @@ "required": true }, "responses": { - "404": { - "description": "No payment option found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2224,17 +2193,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, - "422": { - "description": "Unprocessable payment option.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2269,8 +2231,8 @@ } } }, - "400": { - "description": "Malformed request.", + "209": { + "description": "Request updated with a payment in progress.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2282,13 +2244,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProblemJson" + "$ref": "#/components/schemas/PaymentsModelResponse" } } } }, - "209": { - "description": "Request updated with a payment in progress.", + "422": { + "description": "Unprocessable payment option.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2300,13 +2262,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaymentsModelResponse" + "$ref": "#/components/schemas/ProblemJson" } } } }, - "401": { - "description": "Wrong or missing function key.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2314,10 +2276,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No payment option found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2393,8 +2362,8 @@ "required": true }, "responses": { - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2402,13 +2371,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "422": { @@ -2429,8 +2391,8 @@ } } }, - "404": { - "description": "No payment option found.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2447,8 +2409,8 @@ } } }, - "400": { - "description": "Malformed request.", + "200": { + "description": "Request paid.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2460,13 +2422,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProblemJson" + "$ref": "#/components/schemas/PaymentsModelResponse" } } } }, - "200": { - "description": "Request paid.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2478,24 +2440,31 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaymentsModelResponse" + "$ref": "#/components/schemas/ProblemJson" } } } }, - "401": { - "description": "Wrong or missing function key.", + "404": { + "description": "No payment option found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", "schema": { - "type": "string" + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2663,6 +2632,17 @@ } ], "responses": { + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, "403": { "description": "Forbidden", "headers": { @@ -2675,20 +2655,15 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "429": { - "description": "Too many requests.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2696,10 +2671,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "200": { - "description": "Obtained all organization payment positions.", + "429": { + "description": "Too many requests.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2707,13 +2689,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionsInfoV3" - } - } } }, "400": { @@ -2734,19 +2709,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "Service unavailable.", + "200": { + "description": "Obtained all organization payment positions.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2758,7 +2722,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProblemJson" + "$ref": "#/components/schemas/PaymentPositionsInfoV3" } } } @@ -2822,8 +2786,8 @@ "required": true }, "responses": { - "403": { - "description": "Forbidden", + "409": { + "description": "Conflict: duplicate debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2834,20 +2798,25 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "409": { - "description": "Conflict: duplicate debt position found.", + "401": { + "description": "Wrong or missing function key.", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2858,8 +2827,9 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } @@ -2882,8 +2852,8 @@ } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2900,19 +2870,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", - "headers": { - "X-Request-Id": { - "description": "This header identifies the call", - "schema": { - "type": "string" - } - } - } - }, - "500": { - "description": "Service unavailable.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2977,8 +2936,8 @@ } ], "responses": { - "403": { - "description": "Forbidden", + "200": { + "description": "Obtained debt position details.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -2989,20 +2948,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModelResponseV3" } } } }, - "200": { - "description": "Obtained debt position details.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3010,17 +2963,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModelResponseV3" - } - } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3031,14 +2977,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3046,10 +2993,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3119,8 +3073,8 @@ "required": true }, "responses": { - "409": { - "description": "Conflict: existing related payment found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3128,13 +3082,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "200": { @@ -3155,8 +3102,8 @@ } } }, - "404": { - "description": "No debt position found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3167,14 +3114,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "400": { - "description": "Malformed request.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3191,8 +3139,8 @@ } } }, - "401": { - "description": "Wrong or missing function key.", + "400": { + "description": "Malformed request.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3200,10 +3148,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3214,20 +3169,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3298,8 +3247,8 @@ } } }, - "404": { - "description": "No debt position position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3307,17 +3256,10 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, - "409": { - "description": "Conflict: existing related payment found.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3328,14 +3270,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "No debt position position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3346,20 +3289,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3367,10 +3304,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "500": { - "description": "Service unavailable.", + "409": { + "description": "Conflict: existing related payment found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3433,8 +3377,8 @@ } ], "responses": { - "404": { - "description": "No debt position found.", + "401": { + "description": "Wrong or missing function key.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3442,13 +3386,6 @@ "type": "string" } } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemJson" - } - } } }, "409": { @@ -3469,8 +3406,8 @@ } } }, - "200": { - "description": "Request published.", + "403": { + "description": "Forbidden", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3481,14 +3418,15 @@ }, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentPositionModelV3" + "example": { + "statusCode": 403, + "message": "You are not allowed to access this resource." } } } }, - "401": { - "description": "Wrong or missing function key.", + "500": { + "description": "Service unavailable.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3496,10 +3434,17 @@ "type": "string" } } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" + } + } } }, - "403": { - "description": "Forbidden", + "200": { + "description": "Request published.", "headers": { "X-Request-Id": { "description": "This header identifies the call", @@ -3510,20 +3455,14 @@ }, "content": { "application/json": { - "examples": { - "forbidden": { - "description": "forbidden", - "value": { - "statusCode": 403, - "message": "You are not allowed to access this resource." - } - } + "schema": { + "$ref": "#/components/schemas/PaymentPositionModelV3" } } } }, - "500": { - "description": "Service unavailable.", + "404": { + "description": "No debt position found.", "headers": { "X-Request-Id": { "description": "This header identifies the call", diff --git a/openapi/openapi_send.json b/openapi/openapi_send.json index bbc67714..73b9d64a 100644 --- a/openapi/openapi_send.json +++ b/openapi/openapi_send.json @@ -62,8 +62,8 @@ "required" : true }, "responses" : { - "404" : { - "description" : "No payment option found.", + "401" : { + "description" : "Wrong or missing function key.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -71,17 +71,10 @@ "type" : "string" } } - }, - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" - } - } } }, - "422" : { - "description" : "Unprocessable payment option.", + "500" : { + "description" : "Service unavailable.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -116,8 +109,8 @@ } } }, - "400" : { - "description" : "Malformed request.", + "209" : { + "description" : "Request updated with a payment in progress.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -129,13 +122,13 @@ "content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "$ref" : "#/components/schemas/PaymentsModelResponse" } } } }, - "209" : { - "description" : "Request updated with a payment in progress.", + "422" : { + "description" : "Unprocessable payment option.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -147,13 +140,13 @@ "content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/PaymentsModelResponse" + "$ref" : "#/components/schemas/ProblemJson" } } } }, - "401" : { - "description" : "Wrong or missing function key.", + "400" : { + "description" : "Malformed request.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -161,10 +154,17 @@ "type" : "string" } } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" + } + } } }, - "500" : { - "description" : "Service unavailable.", + "404" : { + "description" : "No payment option found.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -222,8 +222,8 @@ } } ], "responses" : { - "404" : { - "description" : "No payment option found.", + "401" : { + "description" : "Wrong or missing function key.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -231,13 +231,6 @@ "type" : "string" } } - }, - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" - } - } } }, "200" : { @@ -258,8 +251,8 @@ } } }, - "401" : { - "description" : "Wrong or missing function key.", + "500" : { + "description" : "Service unavailable.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", @@ -267,10 +260,17 @@ "type" : "string" } } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemJson" + } + } } }, - "500" : { - "description" : "Service unavailable.", + "404" : { + "description" : "No payment option found.", "headers" : { "X-Request-Id" : { "description" : "This header identifies the call", diff --git a/src/main/java/it/gov/pagopa/debtposition/controller/pd/actions/api/v1/IDebtPositionActionsController.java b/src/main/java/it/gov/pagopa/debtposition/controller/pd/actions/api/v1/IDebtPositionActionsController.java index 24dfde70..eca68b78 100644 --- a/src/main/java/it/gov/pagopa/debtposition/controller/pd/actions/api/v1/IDebtPositionActionsController.java +++ b/src/main/java/it/gov/pagopa/debtposition/controller/pd/actions/api/v1/IDebtPositionActionsController.java @@ -40,7 +40,7 @@ public interface IDebtPositionActionsController { content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -107,7 +107,7 @@ ResponseEntity publishDebtPosition( content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." diff --git a/src/main/java/it/gov/pagopa/debtposition/controller/pd/actions/api/v3/IDebtPositionActionsControllerV3.java b/src/main/java/it/gov/pagopa/debtposition/controller/pd/actions/api/v3/IDebtPositionActionsControllerV3.java index d78641b0..8bdd2690 100644 --- a/src/main/java/it/gov/pagopa/debtposition/controller/pd/actions/api/v3/IDebtPositionActionsControllerV3.java +++ b/src/main/java/it/gov/pagopa/debtposition/controller/pd/actions/api/v3/IDebtPositionActionsControllerV3.java @@ -37,7 +37,7 @@ public interface IDebtPositionActionsControllerV3 { content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." diff --git a/src/main/java/it/gov/pagopa/debtposition/controller/pd/crud/api/v1/IDebtPositionController.java b/src/main/java/it/gov/pagopa/debtposition/controller/pd/crud/api/v1/IDebtPositionController.java index 72d29bc2..af7fc197 100644 --- a/src/main/java/it/gov/pagopa/debtposition/controller/pd/crud/api/v1/IDebtPositionController.java +++ b/src/main/java/it/gov/pagopa/debtposition/controller/pd/crud/api/v1/IDebtPositionController.java @@ -59,7 +59,7 @@ public interface IDebtPositionController { content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -129,7 +129,7 @@ ResponseEntity createDebtPosition( content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -204,7 +204,7 @@ ResponseEntity createMultipleDebtPositions( @ApiResponse( responseCode = "403", content = - @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -320,7 +320,7 @@ ResponseEntity getOrganizationDebtPositions( content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -383,7 +383,7 @@ ResponseEntity getOrganizationDebtPositionByIU @ApiResponse( responseCode = "403", content = - @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -460,7 +460,7 @@ ResponseEntity deleteDebtPosition( @ApiResponse( responseCode = "403", content = - @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -538,7 +538,7 @@ ResponseEntity updateDebtPosition( @ApiResponse( responseCode = "403", content = - @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -599,7 +599,7 @@ ResponseEntity updateMultipleDebtPositions( @ApiResponse( responseCode = "403", content = - @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -654,7 +654,7 @@ ResponseEntity deleteMultipleDebtPositions( @ApiResponse( responseCode = "403", content = - @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -715,6 +715,14 @@ ResponseEntity getDebtPositionByIUV( responseCode = "401", description = "Wrong or missing function key.", content = @Content(schema = @Schema())), + @ApiResponse( + responseCode = "403", + content = + @Content(schema = @Schema(), examples = {@ExampleObject(value = """ + { + "statusCode": 403, + "message": "You are not allowed to access this resource." + }""")}, mediaType = MediaType.APPLICATION_JSON_VALUE)), @ApiResponse( responseCode = "500", description = "Service unavailable.", diff --git a/src/main/java/it/gov/pagopa/debtposition/controller/pd/crud/api/v3/IDebtPositionControllerV3.java b/src/main/java/it/gov/pagopa/debtposition/controller/pd/crud/api/v3/IDebtPositionControllerV3.java index eb1ef5d4..a7c38c5d 100644 --- a/src/main/java/it/gov/pagopa/debtposition/controller/pd/crud/api/v3/IDebtPositionControllerV3.java +++ b/src/main/java/it/gov/pagopa/debtposition/controller/pd/crud/api/v3/IDebtPositionControllerV3.java @@ -56,7 +56,7 @@ public interface IDebtPositionControllerV3 { content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -132,7 +132,7 @@ ResponseEntity createDebtPosition( content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -241,7 +241,7 @@ ResponseEntity getOrganizationDebtPositions( content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -312,7 +312,7 @@ ResponseEntity getOrganizationDebtPositionByIUPD content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource." @@ -380,7 +380,7 @@ ResponseEntity updateDebtPosition( content = @Content(schema = @Schema())), @ApiResponse( responseCode = "403", - content = @Content(schema = @Schema(), examples = {@ExampleObject(name = "forbidden", value = """ + content = @Content(schema = @Schema(), examples = {@ExampleObject(value = """ { "statusCode": 403, "message": "You are not allowed to access this resource."