From 07bf5260a6b25c602ab144f81fff785935ee2425 Mon Sep 17 00:00:00 2001 From: ds-mwesener <124587888+ds-mwesener@users.noreply.github.com> Date: Fri, 26 Jul 2024 09:45:00 +0000 Subject: [PATCH] chore(release): updated OpenAPI spec --- docs/api/traceability-foss-backend.json | 1370 +++++++++++------------ 1 file changed, 685 insertions(+), 685 deletions(-) diff --git a/docs/api/traceability-foss-backend.json b/docs/api/traceability-foss-backend.json index 1e7563e2c9..2e9cb075b2 100644 --- a/docs/api/traceability-foss-backend.json +++ b/docs/api/traceability-foss-backend.json @@ -61,8 +61,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -71,22 +71,22 @@ } } }, - "200": { - "description": "Returns the policies", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IrsPolicyResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404": { - "description": "Not found.", + "200": { + "description": "Returns the policies", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/IrsPolicyResponse" } } } @@ -101,8 +101,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -168,13 +168,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Update successful", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } } }, @@ -188,8 +186,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -198,8 +196,8 @@ } } }, - "429": { - "description": "Too many requests.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -208,11 +206,13 @@ } } }, - "200": { - "description": "Update successful", + "403": { + "description": "Forbidden.", "content": { "application/json": { - + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } } @@ -273,28 +273,28 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Returns the policies", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/CreatePolicyResponse" } } } }, - "200": { - "description": "Returns the policies", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreatePolicyResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -313,8 +313,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -393,8 +393,11 @@ } } }, - "403": { - "description": "Forbidden.", + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -403,11 +406,8 @@ } } }, - "204": { - "description": "No content." - }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -426,8 +426,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -485,8 +485,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -495,8 +495,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -505,18 +505,23 @@ } } }, - "400": { - "description": "Bad request.", + "200": { + "description": "Returns the paged result found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "$ref": "#/components/schemas/BpnEdcMappingResponse" + } } } } }, - "429": { - "description": "Too many requests.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -525,17 +530,12 @@ } } }, - "200": { - "description": "Returns the paged result found", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "$ref": "#/components/schemas/BpnEdcMappingResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -602,12 +602,17 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Returns the paged result found for BpnEdcMapping", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "$ref": "#/components/schemas/BpnEdcMappingResponse" + } } } } @@ -622,17 +627,12 @@ } } }, - "200": { - "description": "Returns the paged result found for BpnEdcMapping", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "$ref": "#/components/schemas/BpnEdcMappingResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -647,8 +647,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -719,12 +719,17 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Returns the paged result found for BpnEdcMapping", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "$ref": "#/components/schemas/BpnEdcMappingResponse" + } } } } @@ -739,17 +744,12 @@ } } }, - "200": { - "description": "Returns the paged result found for BpnEdcMapping", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "$ref": "#/components/schemas/BpnEdcMappingResponse" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -764,8 +764,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -833,18 +833,18 @@ } } }, - "200": { - "description": "Returns submodel payload", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403": { - "description": "Forbidden.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -853,12 +853,12 @@ } } }, - "404": { - "description": "Not found.", + "200": { + "description": "Returns submodel payload", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "string" } } } @@ -873,8 +873,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -950,8 +950,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Ok." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -960,11 +963,8 @@ } } }, - "200": { - "description": "Ok." - }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -973,6 +973,9 @@ } } }, + "204": { + "description": "No Content." + }, "400": { "description": "Bad request.", "content": { @@ -983,11 +986,8 @@ } } }, - "204": { - "description": "No Content." - }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1055,8 +1055,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1065,8 +1065,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1075,28 +1075,28 @@ } } }, - "400": { - "description": "Bad request.", + "201": { + "description": "Created.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/NotificationIdResponse" } } } }, - "201": { - "description": "Created.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationIdResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1175,8 +1175,11 @@ } } }, - "403": { - "description": "Forbidden.", + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1185,11 +1188,8 @@ } } }, - "204": { - "description": "No content." - }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1208,8 +1208,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1288,8 +1288,14 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Ok." + }, + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1298,14 +1304,8 @@ } } }, - "204": { - "description": "No content." - }, - "200": { - "description": "Ok." - }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1324,8 +1324,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1394,8 +1394,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Ok." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1404,11 +1407,11 @@ } } }, - "200": { - "description": "Ok." + "204": { + "description": "No content." }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1417,9 +1420,6 @@ } } }, - "204": { - "description": "No content." - }, "400": { "description": "Bad request.", "content": { @@ -1430,8 +1430,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1500,8 +1500,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Ok." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1510,11 +1513,11 @@ } } }, - "200": { - "description": "Ok." + "204": { + "description": "No content." }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1523,9 +1526,6 @@ } } }, - "204": { - "description": "No content." - }, "400": { "description": "Bad request.", "content": { @@ -1536,8 +1536,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1605,8 +1605,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1630,8 +1630,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1650,8 +1650,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1689,46 +1689,6 @@ "required": true }, "responses": { - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "500": { - "description": "Internal server error.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "Returns the paged result found for Notifications", "content": { @@ -1876,6 +1836,36 @@ } } }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "404": { "description": "Not found.", "content": { @@ -1886,6 +1876,16 @@ } } }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "400": { "description": "Bad request.", "content": { @@ -1896,8 +1896,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -1965,8 +1965,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -1975,8 +1975,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -1985,28 +1985,28 @@ } } }, - "400": { - "description": "Bad request.", + "201": { + "description": "Created.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/CreateNotificationContractResponse" } } } }, - "201": { - "description": "Created.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateNotificationContractResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2044,95 +2044,95 @@ "required": true }, "responses": { - "200": { - "description": "Ok.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "description": "PageResults", - "items": { - "$ref": "#/components/schemas/PageResultContractResponse" + "type": "string", + "example": { + "message": "Internal server error." } } } } }, - "403": { - "description": "Forbidden.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Forbidden." + "message": "Bad request." } } } } }, - "415": { - "description": "Unsupported media type.", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Unsupported media type." + "message": "Authorization failed." } } } } }, - "429": { - "description": "Too many requests.", + "200": { + "description": "Ok.", "content": { "application/json": { "schema": { - "type": "string", - "example": { - "message": "Too many requests." + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "description": "PageResults", + "items": { + "$ref": "#/components/schemas/PageResultContractResponse" } } } } }, - "401": { - "description": "Authorization failed.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Authorization failed." + "message": "Too many requests." } } } } }, - "500": { - "description": "Internal server error.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Internal server error." + "message": "Forbidden." } } } } }, - "400": { - "description": "Bad request.", + "415": { + "description": "Unsupported media type.", "content": { "application/json": { "schema": { "type": "string", "example": { - "message": "Bad request." + "message": "Unsupported media type." } } } @@ -2192,9 +2192,6 @@ "required": true }, "responses": { - "204": { - "description": "No Content." - }, "401": { "description": "Authorization failed.", "content": { @@ -2225,8 +2222,11 @@ } } }, - "403": { - "description": "Forbidden.", + "204": { + "description": "No Content." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2235,21 +2235,21 @@ } } }, - "200": { - "description": "OK.", + "429": { + "description": "Too many requests.", "content": { "application/json": { - + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, - "404": { - "description": "Not found.", + "200": { + "description": "OK.", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } + } } }, @@ -2263,8 +2263,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2310,9 +2310,6 @@ } }, "responses": { - "204": { - "description": "No Content." - }, "401": { "description": "Authorization failed.", "content": { @@ -2343,8 +2340,11 @@ } } }, - "403": { - "description": "Forbidden.", + "204": { + "description": "No Content." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2353,8 +2353,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2363,18 +2363,18 @@ } } }, - "200": { - "description": "OK.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400": { - "description": "Bad request.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2383,12 +2383,12 @@ } } }, - "429": { - "description": "Too many requests.", + "200": { + "description": "OK.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ImportResponse" } } } @@ -2452,8 +2452,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2462,8 +2462,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2472,6 +2472,9 @@ } } }, + "201": { + "description": "Created." + }, "400": { "description": "Bad request.", "content": { @@ -2482,11 +2485,8 @@ } } }, - "201": { - "description": "Created." - }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2555,8 +2555,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2580,8 +2580,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2600,8 +2600,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2857,8 +2857,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2867,8 +2867,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2887,8 +2887,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -2956,8 +2956,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -2966,8 +2966,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -2976,6 +2976,9 @@ } } }, + "201": { + "description": "Created." + }, "400": { "description": "Bad request.", "content": { @@ -2986,11 +2989,8 @@ } } }, - "201": { - "description": "Created." - }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -3059,8 +3059,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -3084,8 +3084,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3104,8 +3104,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -3173,16 +3173,6 @@ } } }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "404": { "description": "Not found.", "content": { @@ -3193,8 +3183,8 @@ } } }, - "400": { - "description": "Bad request.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -3391,8 +3381,18 @@ } } }, - "429": { - "description": "Too many requests.", + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -3460,16 +3460,6 @@ } } }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "Returns the assets found", "content": { @@ -3663,6 +3653,16 @@ } } }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "400": { "description": "Bad request.", "content": { @@ -3673,8 +3673,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -3750,36 +3750,6 @@ } } }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "400": { - "description": "Bad request.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "Returns the updated asset", "content": { @@ -3963,6 +3933,16 @@ } } }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "429": { "description": "Too many requests.", "content": { @@ -3972,6 +3952,26 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -4032,46 +4032,6 @@ } } }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "400": { - "description": "Bad request.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "429": { - "description": "Too many requests.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "Returns the assets found", "content": { @@ -4254,46 +4214,19 @@ } } } - } - }, - "security": [ - { - "oAuth2": [ - "profile email" - ] - } - ] - }, - "patch": { - "tags": [ - "AssetsAsBuilt" - ], - "summary": "Updates asset", - "description": "The endpoint updates asset by provided quality type.", - "operationId": "updateAsset_1", - "parameters": [ - { - "name": "assetId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateAssetRequest" + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } } }, - "required": true - }, - "responses": { - "401": { - "description": "Authorization failed.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -4302,8 +4235,8 @@ } } }, - "415": { - "description": "Unsupported media type", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -4312,8 +4245,8 @@ } } }, - "500": { - "description": "Internal server error.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4321,9 +4254,46 @@ } } } + } + }, + "security": [ + { + "oAuth2": [ + "profile email" + ] + } + ] + }, + "patch": { + "tags": [ + "AssetsAsBuilt" + ], + "summary": "Updates asset", + "description": "The endpoint updates asset by provided quality type.", + "operationId": "updateAsset_1", + "parameters": [ + { + "name": "assetId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAssetRequest" + } + } }, - "403": { - "description": "Forbidden.", + "required": true + }, + "responses": { + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -4332,8 +4302,8 @@ } } }, - "404": { - "description": "Not found.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4342,8 +4312,8 @@ } } }, - "400": { - "description": "Bad request.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -4535,6 +4505,16 @@ } } }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "429": { "description": "Too many requests.", "content": { @@ -4544,6 +4524,26 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -4594,8 +4594,11 @@ } } }, - "403": { - "description": "Forbidden.", + "202": { + "description": "Created registry reload job." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -4604,11 +4607,8 @@ } } }, - "202": { - "description": "Created registry reload job." - }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -4627,8 +4627,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4666,18 +4666,18 @@ } ], "responses": { - "401": { - "description": "Authorization failed.", + "200": { + "description": "OK.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/PolicyResponse" } } } }, - "415": { - "description": "Unsupported media type", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -4686,8 +4686,8 @@ } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -4696,8 +4696,8 @@ } } }, - "403": { - "description": "Forbidden.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -4706,18 +4706,18 @@ } } }, - "200": { - "description": "Returns the policies", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PolicyResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -4736,8 +4736,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4811,8 +4811,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -4821,8 +4821,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -4841,8 +4841,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4911,16 +4911,6 @@ } } }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "OK.", "content": { @@ -4946,6 +4936,16 @@ } } }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "400": { "description": "Bad request.", "content": { @@ -4956,8 +4956,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -4985,18 +4985,18 @@ "description": "The endpoint can return limited data based on the user role", "operationId": "dashboard", "responses": { - "401": { - "description": "Authorization failed.", + "200": { + "description": "Returns dashboard data", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/DashboardResponse" } } } }, - "415": { - "description": "Unsupported media type", + "401": { + "description": "Authorization failed.", "content": { "application/json": { "schema": { @@ -5005,8 +5005,8 @@ } } }, - "500": { - "description": "Internal server error.", + "415": { + "description": "Unsupported media type", "content": { "application/json": { "schema": { @@ -5015,8 +5015,8 @@ } } }, - "403": { - "description": "Forbidden.", + "500": { + "description": "Internal server error.", "content": { "application/json": { "schema": { @@ -5025,18 +5025,18 @@ } } }, - "200": { - "description": "Returns dashboard data", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DashboardResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5055,8 +5055,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -5095,9 +5095,6 @@ } ], "responses": { - "204": { - "description": "No Content." - }, "401": { "description": "Authorization failed.", "content": { @@ -5128,28 +5125,31 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "OK.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ImportReportResponse" } } } }, - "200": { - "description": "OK.", + "204": { + "description": "No Content." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportReportResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5168,8 +5168,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -5245,8 +5245,18 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5443,16 +5453,6 @@ } } }, - "404": { - "description": "Not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "400": { "description": "Bad request.", "content": { @@ -5463,8 +5463,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -5499,9 +5499,39 @@ "schema": { "type": "string" } - } - ], - "responses": { + } + ], + "responses": { + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { "description": "Returns the asset by childId", "content": { @@ -5685,38 +5715,8 @@ } } }, - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "500": { - "description": "Internal server error.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -5725,8 +5725,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -5745,8 +5745,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -5822,16 +5822,6 @@ } } }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "404": { "description": "Not found.", "content": { @@ -5842,16 +5832,6 @@ } } }, - "400": { - "description": "Bad request.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "Returns the paged result found for Asset", "content": { @@ -6049,6 +6029,26 @@ } } } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } } }, "security": [ @@ -6099,8 +6099,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -6109,8 +6109,8 @@ } } }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -6119,18 +6119,23 @@ } } }, - "400": { - "description": "Bad request.", + "200": { + "description": "Returns the assets found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "type": "string" + } } } } }, - "429": { - "description": "Too many requests.", + "400": { + "description": "Bad request.", "content": { "application/json": { "schema": { @@ -6139,17 +6144,12 @@ } } }, - "200": { - "description": "Returns the assets found", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { - "maxItems": 2147483647, - "minItems": 0, - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6183,46 +6183,6 @@ } ], "responses": { - "401": { - "description": "Authorization failed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "415": { - "description": "Unsupported media type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "500": { - "description": "Internal server error.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, "200": { "description": "Returns the asset by childId", "content": { @@ -6406,6 +6366,36 @@ } } }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "404": { "description": "Not found.", "content": { @@ -6416,6 +6406,16 @@ } } }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "400": { "description": "Bad request.", "content": { @@ -6426,8 +6426,8 @@ } } }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -6485,8 +6485,11 @@ } } }, - "403": { - "description": "Forbidden.", + "200": { + "description": "Ok." + }, + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -6495,11 +6498,8 @@ } } }, - "200": { - "description": "Ok." - }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -6508,6 +6508,9 @@ } } }, + "204": { + "description": "No Content." + }, "400": { "description": "Bad request.", "content": { @@ -6518,11 +6521,8 @@ } } }, - "204": { - "description": "No Content." - }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -6590,8 +6590,8 @@ } } }, - "403": { - "description": "Forbidden.", + "404": { + "description": "Not found.", "content": { "application/json": { "schema": { @@ -6600,11 +6600,11 @@ } } }, - "204": { - "description": "Deleted." + "200": { + "description": "Okay" }, - "404": { - "description": "Not found.", + "429": { + "description": "Too many requests.", "content": { "application/json": { "schema": { @@ -6623,11 +6623,8 @@ } } }, - "200": { - "description": "Okay" - }, - "429": { - "description": "Too many requests.", + "403": { + "description": "Forbidden.", "content": { "application/json": { "schema": { @@ -6635,6 +6632,9 @@ } } } + }, + "204": { + "description": "Deleted." } }, "security": [