From 94e7c56b2aede41d4d549df6d7f16b196dac84d7 Mon Sep 17 00:00:00 2001 From: baixinsui Date: Wed, 5 Mar 2025 11:27:52 +0800 Subject: [PATCH] add output properties in ocl --- .../deployment/DeploymentManagement.tsx | 2 +- .../deployment/DeploymentVariables.tsx | 10 +- .../formDataHelpers/deployParamsHelper.ts | 2 +- .../formDataHelpers/modifyParamsHelper.ts | 4 +- .../content/order/modify/Modify.tsx | 14 +- src/components/content/order/scale/Scale.tsx | 2 +- src/xpanse-api/api.json | 3104 +++++++++-------- src/xpanse-api/generated/types.gen.ts | 281 +- 8 files changed, 1755 insertions(+), 1664 deletions(-) diff --git a/src/components/content/deployment/DeploymentManagement.tsx b/src/components/content/deployment/DeploymentManagement.tsx index b3f99e70c..5628d9e84 100644 --- a/src/components/content/deployment/DeploymentManagement.tsx +++ b/src/components/content/deployment/DeploymentManagement.tsx @@ -18,7 +18,7 @@ function DeploymentManagement({ deployment }: { deployment: Deployment }): React  Service Deployment Management - + ); } diff --git a/src/components/content/deployment/DeploymentVariables.tsx b/src/components/content/deployment/DeploymentVariables.tsx index 71711430e..a34c32d0f 100644 --- a/src/components/content/deployment/DeploymentVariables.tsx +++ b/src/components/content/deployment/DeploymentVariables.tsx @@ -8,10 +8,10 @@ import { ColumnsType } from 'antd/es/table'; import React from 'react'; import catalogStyles from '../../../styles/catalog.module.css'; import deploymentVariablesStyles from '../../../styles/deployment-variables.module.css'; -import { deployResourceKind, DeployVariable, sensitiveScope } from '../../../xpanse-api/generated'; +import { deployResourceKind, InputVariable, sensitiveScope } from '../../../xpanse-api/generated'; -function DeploymentVariables({ variables }: { variables: DeployVariable[] }): React.JSX.Element { - const columns: ColumnsType = [ +function DeploymentVariables({ variables }: { variables: InputVariable[] }): React.JSX.Element { + const columns: ColumnsType = [ { title:
Name
, dataIndex: 'name', @@ -43,7 +43,7 @@ function DeploymentVariables({ variables }: { variables: DeployVariable[] }): Re { title:
Description
, dataIndex: 'description', - render: (_text: string, record: DeployVariable) => { + render: (_text: string, record: InputVariable) => { return ( ValueSchema, dataIndex: 'valueSchema', - render: (_text: string, record: DeployVariable) => { + render: (_text: string, record: InputVariable) => { if (!record.valueSchema) { return ''; } diff --git a/src/components/content/order/formDataHelpers/deployParamsHelper.ts b/src/components/content/order/formDataHelpers/deployParamsHelper.ts index 9ebea07b8..4fb2a4e53 100644 --- a/src/components/content/order/formDataHelpers/deployParamsHelper.ts +++ b/src/components/content/order/formDataHelpers/deployParamsHelper.ts @@ -56,7 +56,7 @@ export const getDeployParams = ( }; if (service !== undefined) { - for (const param of service.variables) { + for (const param of service.inputVariables) { props.params.push({ name: param.name, kind: param.kind, diff --git a/src/components/content/order/formDataHelpers/modifyParamsHelper.ts b/src/components/content/order/formDataHelpers/modifyParamsHelper.ts index 2d5613c2b..59f4d512d 100644 --- a/src/components/content/order/formDataHelpers/modifyParamsHelper.ts +++ b/src/components/content/order/formDataHelpers/modifyParamsHelper.ts @@ -3,10 +3,10 @@ * SPDX-FileCopyrightText: Huawei Inc. */ -import { DeployVariable, sensitiveScope } from '../../../../xpanse-api/generated'; +import { InputVariable, sensitiveScope } from '../../../../xpanse-api/generated'; import { DeployParam } from '../types/DeployParam'; -export const getModifyParams = (variables: DeployVariable[]): DeployParam[] => { +export const getModifyParams = (variables: InputVariable[]): DeployParam[] => { const params: DeployParam[] = []; if (variables.length > 0) { diff --git a/src/components/content/order/modify/Modify.tsx b/src/components/content/order/modify/Modify.tsx index 11ff584cb..4a121588b 100644 --- a/src/components/content/order/modify/Modify.tsx +++ b/src/components/content/order/modify/Modify.tsx @@ -13,7 +13,7 @@ import serviceOrderStyles from '../../../../styles/service-order.module.css'; import { csp, DeployedServiceDetails, - DeployVariable, + InputVariable, modify, type ModifyData, ModifyRequest, @@ -40,14 +40,14 @@ export const Modify = ({ const [form] = Form.useForm(); const { Paragraph } = Typography; let getParams: DeployParam[] = []; - let getVariables: DeployVariable[] = []; + let getVariables: InputVariable[] = []; const [modifyWarning, setModifyWarning] = useState([]); const [isShowModifyingResult, setIsShowModifyingResult] = useState(false); const [modifyStatus, setModifyStatus] = useState(undefined); const [cacheFormVariable] = useOrderFormStore((state) => [state.addDeployVariable]); - const [storedDeployVariables] = useOrderFormStore((state) => [state.deployParams]); + const [storedInputVariables] = useOrderFormStore((state) => [state.deployParams]); const orderableServiceDetailsQuery = useGetOrderableServiceDetails(currentSelectedService.serviceTemplateId); const modifyServiceRequest = useMutation({ @@ -67,13 +67,13 @@ export const Modify = ({ const hasVariableChanged: () => boolean = () => { const prevParamsString = JSON.stringify(getExistingServiceParameters(currentSelectedService)); - const newParamsString = JSON.stringify(storedDeployVariables); + const newParamsString = JSON.stringify(storedInputVariables); return prevParamsString !== newParamsString; }; if (orderableServiceDetailsQuery.isSuccess) { - getParams = getModifyParams(orderableServiceDetailsQuery.data.variables); - getVariables = orderableServiceDetailsQuery.data.variables; + getParams = getModifyParams(orderableServiceDetailsQuery.data.inputVariables); + getVariables = orderableServiceDetailsQuery.data.inputVariables; } const onFinish = () => { @@ -124,7 +124,7 @@ export const Modify = ({ const onClickModify = () => { const modifiedKeys = getModifiedProperties( getExistingServiceParameters(currentSelectedService), - storedDeployVariables + storedInputVariables ); if (modifiedKeys.length > 0) { const warnings: React.JSX.Element[] = []; diff --git a/src/components/content/order/scale/Scale.tsx b/src/components/content/order/scale/Scale.tsx index 068184c4d..12dd5c142 100644 --- a/src/components/content/order/scale/Scale.tsx +++ b/src/components/content/order/scale/Scale.tsx @@ -80,7 +80,7 @@ export const Scale = ({ ); isDowngradeAllowed = orderableServiceDetailsQuery.data.flavors.isDowngradeAllowed; } - getParams = getModifyParams(orderableServiceDetailsQuery.data.variables); + getParams = getModifyParams(orderableServiceDetailsQuery.data.inputVariables); } const onFinish = () => { diff --git a/src/xpanse-api/api.json b/src/xpanse-api/api.json index 98c046cc2..6d28b0f01 100644 --- a/src/xpanse-api/api.json +++ b/src/xpanse-api/api.json @@ -133,8 +133,11 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -143,8 +146,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -153,8 +156,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -163,8 +166,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -183,8 +186,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -193,8 +196,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -202,9 +205,6 @@ } } } - }, - "200": { - "description": "OK" } } } @@ -239,8 +239,11 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -249,8 +252,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -259,8 +262,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -269,8 +272,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -289,8 +292,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -299,8 +302,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -308,9 +311,6 @@ } } } - }, - "200": { - "description": "OK" } } } @@ -353,18 +353,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/AbstractCredentialInfo" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -383,8 +386,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -393,8 +396,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -403,8 +406,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -413,8 +416,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -423,15 +426,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AbstractCredentialInfo" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -453,8 +453,11 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -463,8 +466,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -473,8 +476,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -483,8 +486,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -503,8 +506,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -513,8 +516,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -522,9 +525,6 @@ } } } - }, - "204": { - "description": "No Content" } } }, @@ -543,8 +543,11 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -553,8 +556,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -563,8 +566,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -573,8 +576,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -593,8 +596,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -603,8 +606,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -612,9 +615,6 @@ } } } - }, - "204": { - "description": "No Content" } } }, @@ -673,8 +673,11 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -683,8 +686,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -693,8 +696,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -703,8 +706,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -723,8 +726,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -733,8 +736,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -742,9 +745,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -766,18 +766,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -796,8 +796,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -806,8 +806,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -816,8 +816,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -826,8 +826,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -836,12 +836,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -866,18 +866,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -896,8 +896,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -906,8 +906,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -916,8 +916,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -926,8 +926,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -936,12 +936,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -966,18 +966,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -996,8 +996,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -1006,8 +1006,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -1016,8 +1016,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -1026,8 +1026,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -1036,12 +1036,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -1066,18 +1066,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1096,8 +1096,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -1106,8 +1106,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -1116,8 +1116,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -1126,8 +1126,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -1136,12 +1136,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -1177,17 +1177,17 @@ "required": true }, "responses": { - "500": { - "description": "", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrderFailedErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { + "400": { "description": "", "content": { "application/json": { @@ -1207,7 +1207,7 @@ } } }, - "400": { + "403": { "description": "", "content": { "application/json": { @@ -1217,7 +1217,7 @@ } } }, - "422": { + "408": { "description": "", "content": { "application/json": { @@ -1227,7 +1227,7 @@ } } }, - "403": { + "422": { "description": "", "content": { "application/json": { @@ -1237,7 +1237,7 @@ } } }, - "408": { + "500": { "description": "", "content": { "application/json": { @@ -1247,12 +1247,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/OrderFailedErrorResponse" } } } @@ -1277,17 +1277,17 @@ } ], "responses": { - "500": { - "description": "", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrderFailedErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { + "400": { "description": "", "content": { "application/json": { @@ -1307,7 +1307,7 @@ } } }, - "400": { + "403": { "description": "", "content": { "application/json": { @@ -1317,7 +1317,7 @@ } } }, - "422": { + "408": { "description": "", "content": { "application/json": { @@ -1327,7 +1327,7 @@ } } }, - "403": { + "422": { "description": "", "content": { "application/json": { @@ -1337,7 +1337,7 @@ } } }, - "408": { + "500": { "description": "", "content": { "application/json": { @@ -1347,12 +1347,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/OrderFailedErrorResponse" } } } @@ -1388,18 +1388,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1418,8 +1418,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -1428,8 +1428,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -1438,8 +1438,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -1448,8 +1448,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -1458,12 +1458,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -1499,18 +1499,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1529,8 +1529,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -1539,8 +1539,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -1549,8 +1549,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -1559,8 +1559,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -1569,12 +1569,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -1610,18 +1610,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1640,8 +1640,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -1650,8 +1650,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -1660,8 +1660,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -1670,8 +1670,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -1680,12 +1680,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -1711,18 +1711,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceTemplateDetailVo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1741,8 +1741,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -1751,8 +1751,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -1761,8 +1761,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -1771,8 +1771,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -1781,12 +1781,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceTemplateDetailVo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -1829,18 +1829,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceTemplateRequestInfo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1859,8 +1859,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -1869,8 +1869,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -1879,8 +1879,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -1889,8 +1889,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -1899,12 +1899,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceTemplateRequestInfo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -1928,8 +1928,11 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -1938,8 +1941,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -1948,8 +1951,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -1958,8 +1961,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -1978,8 +1981,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -1988,8 +1991,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -1997,9 +2000,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -2022,18 +2022,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceTemplateRequestInfo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2052,8 +2052,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2062,8 +2062,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -2072,8 +2072,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -2082,8 +2082,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2092,12 +2092,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceTemplateRequestInfo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -2123,8 +2123,11 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2133,8 +2136,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -2143,8 +2146,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2153,8 +2156,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -2173,8 +2176,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2183,8 +2186,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -2192,9 +2195,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -2217,18 +2217,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceTemplateRequestInfo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2247,8 +2247,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2257,8 +2257,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -2267,8 +2267,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -2277,8 +2277,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2287,12 +2287,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceTemplateRequestInfo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -2336,18 +2336,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceTemplateRequestInfo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2366,8 +2366,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2376,8 +2376,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -2386,8 +2386,8 @@ } } }, - "403": { - "description": "Forbidden", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -2396,8 +2396,8 @@ } } }, - "404": { - "description": "Not Found", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -2406,8 +2406,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2416,12 +2416,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceTemplateRequestInfo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -2446,18 +2446,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServicePolicy" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2476,8 +2476,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2486,8 +2486,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -2496,8 +2496,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -2506,8 +2506,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2516,12 +2516,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServicePolicy" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -2555,18 +2555,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServicePolicy" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2585,8 +2585,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2595,8 +2595,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -2605,8 +2605,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -2615,8 +2615,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2625,12 +2625,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServicePolicy" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -2653,8 +2653,11 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2663,8 +2666,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -2673,8 +2676,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2683,8 +2686,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -2703,8 +2706,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2713,8 +2716,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -2722,9 +2725,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -2746,18 +2746,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/UserPolicy" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2776,8 +2776,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2786,8 +2786,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -2796,8 +2796,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -2806,8 +2806,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2816,12 +2816,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserPolicy" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -2855,18 +2855,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/UserPolicy" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2885,8 +2885,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2895,8 +2895,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -2905,8 +2905,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -2915,8 +2915,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2925,12 +2925,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserPolicy" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -2954,8 +2954,11 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2964,8 +2967,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -2974,8 +2977,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2984,8 +2987,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -3004,8 +3007,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -3014,8 +3017,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -3023,9 +3026,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -3068,18 +3068,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/AbstractCredentialInfo" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -3098,8 +3101,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3108,8 +3111,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -3118,8 +3121,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -3128,8 +3131,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -3138,15 +3141,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AbstractCredentialInfo" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -3168,8 +3168,11 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -3178,8 +3181,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -3188,8 +3191,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3198,8 +3201,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -3218,8 +3221,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -3228,8 +3231,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -3237,9 +3240,6 @@ } } } - }, - "204": { - "description": "No Content" } } }, @@ -3258,8 +3258,11 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -3268,8 +3271,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -3278,8 +3281,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3288,8 +3291,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -3308,8 +3311,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -3318,8 +3321,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -3327,9 +3330,6 @@ } } } - }, - "204": { - "description": "No Content" } } }, @@ -3388,8 +3388,11 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -3398,8 +3401,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -3408,8 +3411,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3418,8 +3421,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -3438,8 +3441,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -3448,8 +3451,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -3457,9 +3460,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -3492,8 +3492,11 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -3502,8 +3505,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -3512,8 +3515,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3522,8 +3525,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -3542,8 +3545,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -3552,8 +3555,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -3561,9 +3564,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -3596,8 +3596,11 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -3606,8 +3609,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -3616,8 +3619,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3626,8 +3629,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -3646,8 +3649,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -3656,8 +3659,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -3665,9 +3668,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -3761,18 +3761,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/DeployedService" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -3791,8 +3794,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3801,8 +3804,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -3811,8 +3814,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -3821,8 +3824,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -3831,15 +3834,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeployedService" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -3861,17 +3861,17 @@ "required": true }, "responses": { - "500": { - "description": "", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrderFailedErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { + "400": { "description": "", "content": { "application/json": { @@ -3891,7 +3891,7 @@ } } }, - "400": { + "403": { "description": "", "content": { "application/json": { @@ -3901,7 +3901,7 @@ } } }, - "422": { + "408": { "description": "", "content": { "application/json": { @@ -3911,7 +3911,7 @@ } } }, - "403": { + "422": { "description": "", "content": { "application/json": { @@ -3921,7 +3921,7 @@ } } }, - "408": { + "500": { "description": "", "content": { "application/json": { @@ -3931,12 +3931,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/OrderFailedErrorResponse" } } } @@ -3960,18 +3960,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -3990,8 +3990,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4000,8 +4000,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -4010,8 +4010,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -4020,8 +4020,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4030,12 +4030,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -4149,18 +4149,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ServiceTemplateDetailVo" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4179,8 +4182,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4189,8 +4192,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -4199,8 +4202,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -4209,8 +4212,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4219,15 +4222,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateDetailVo" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -4249,18 +4249,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceTemplateRequestInfo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4279,8 +4279,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4289,8 +4289,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -4299,8 +4299,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -4309,8 +4309,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4319,12 +4319,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceTemplateRequestInfo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -4349,18 +4349,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceTemplateRequestInfo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4379,8 +4379,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4389,8 +4389,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -4399,8 +4399,8 @@ } } }, - "403": { - "description": "Forbidden", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -4409,8 +4409,8 @@ } } }, - "404": { - "description": "Not Found", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -4419,8 +4419,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4429,12 +4429,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceTemplateRequestInfo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -4460,18 +4460,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ServicePolicy" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4490,8 +4493,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4500,8 +4503,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -4510,8 +4513,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -4520,8 +4523,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4530,15 +4533,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServicePolicy" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -4560,18 +4560,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServicePolicy" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4590,8 +4590,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4600,8 +4600,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -4610,8 +4610,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -4620,8 +4620,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4630,12 +4630,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServicePolicy" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -4680,18 +4680,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/UserPolicy" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4710,8 +4713,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4720,8 +4723,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -4730,8 +4733,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -4740,8 +4743,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4750,15 +4753,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserPolicy" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -4780,18 +4780,18 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/UserPolicy" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4810,8 +4810,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4820,8 +4820,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -4830,8 +4830,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -4840,8 +4840,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4850,12 +4850,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserPolicy" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -4881,18 +4881,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/WorkFlowTask" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -4911,8 +4914,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4921,8 +4924,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -4931,8 +4934,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -4941,8 +4944,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4951,15 +4954,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WorkFlowTask" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -4985,18 +4985,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/UserOrderableServiceVo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5015,8 +5015,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -5025,8 +5025,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -5035,8 +5035,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -5045,8 +5045,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5055,12 +5055,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserOrderableServiceVo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -5086,18 +5086,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/DeployResource" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5116,8 +5119,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -5126,8 +5129,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -5136,8 +5139,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -5146,8 +5149,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5156,15 +5159,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeployResource" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -5225,18 +5225,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ServiceOrderDetails" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5255,8 +5258,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -5265,8 +5268,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -5275,8 +5278,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -5285,8 +5288,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5295,15 +5298,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceOrderDetails" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -5327,8 +5327,11 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5337,8 +5340,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -5347,8 +5350,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -5357,8 +5360,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -5377,8 +5380,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5387,8 +5390,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -5396,9 +5399,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -5443,18 +5443,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/DeploymentStatusUpdate" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5473,8 +5473,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -5483,8 +5483,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -5493,8 +5493,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -5503,8 +5503,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5513,12 +5513,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeploymentStatusUpdate" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -5544,18 +5544,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrderDetails" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5574,8 +5574,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -5584,8 +5584,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -5594,8 +5594,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -5604,8 +5604,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5614,12 +5614,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrderDetails" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -5643,8 +5643,11 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5653,8 +5656,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -5663,8 +5666,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -5673,8 +5676,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -5693,8 +5696,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5703,8 +5706,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -5712,9 +5715,6 @@ } } } - }, - "204": { - "description": "No Content" } } } @@ -5747,18 +5747,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceOrderStatusUpdate" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5777,8 +5777,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -5787,8 +5787,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -5797,8 +5797,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -5807,8 +5807,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5817,12 +5817,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrderStatusUpdate" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -5919,18 +5919,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/DeployedService" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5949,8 +5952,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -5959,8 +5962,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -5969,8 +5972,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -5979,8 +5982,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5989,15 +5992,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeployedService" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6023,18 +6023,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/DeployedServiceDetails" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6053,8 +6053,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -6063,8 +6063,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -6073,8 +6073,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -6083,8 +6083,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -6093,12 +6093,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeployedServiceDetails" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6195,18 +6195,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/DeployedService" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6225,8 +6228,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -6235,8 +6238,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -6245,8 +6248,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -6255,8 +6258,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -6265,15 +6268,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeployedService" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6299,18 +6299,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/VendorHostedDeployedServiceDetails" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6329,8 +6329,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -6339,8 +6339,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -6349,8 +6349,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -6359,8 +6359,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -6369,12 +6369,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VendorHostedDeployedServiceDetails" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6400,18 +6400,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/DeployedServiceDetails" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6430,8 +6430,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -6440,8 +6440,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -6450,8 +6450,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -6460,8 +6460,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -6470,12 +6470,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeployedServiceDetails" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6552,18 +6552,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/DeployedService" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6582,8 +6585,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -6592,8 +6595,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -6602,8 +6605,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -6612,8 +6615,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -6622,15 +6625,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeployedService" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6692,18 +6692,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ServiceChangeOrderDetails" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6722,8 +6725,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -6732,8 +6735,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -6742,8 +6745,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -6752,8 +6755,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -6762,15 +6765,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceChangeOrderDetails" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6816,18 +6816,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ServiceTemplateRequestHistory" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6846,8 +6849,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -6856,8 +6859,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -6866,8 +6869,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -6876,8 +6879,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -6886,15 +6889,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateRequestHistory" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -6920,18 +6920,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/Ocl" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6950,8 +6950,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -6960,8 +6960,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -6970,8 +6970,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -6980,8 +6980,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -6990,12 +6990,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Ocl" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -7021,18 +7021,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceConfigurationDetails" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7051,8 +7051,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -7061,8 +7061,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -7070,9 +7070,9 @@ } } } - }, - "403": { - "description": "Forbidden", + }, + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -7081,8 +7081,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -7091,12 +7091,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceConfigurationDetails" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -7159,18 +7159,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/FlavorPriceResult" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7189,8 +7189,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -7199,8 +7199,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -7209,8 +7209,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -7219,8 +7219,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -7229,12 +7229,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FlavorPriceResult" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -7288,18 +7288,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/FlavorPriceResult" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7318,8 +7321,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -7328,8 +7331,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -7338,8 +7341,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -7348,8 +7351,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -7358,15 +7361,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FlavorPriceResult" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -7454,18 +7454,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/Metric" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7484,8 +7487,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -7494,8 +7497,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -7504,8 +7507,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -7514,8 +7517,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -7524,15 +7527,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Metric" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -7546,18 +7546,18 @@ "description": "Check health of API service and backend systems.
Required role: admin or csp or isv or user
", "operationId": "healthCheck", "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/SystemStatus" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7576,8 +7576,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -7586,8 +7586,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -7596,8 +7596,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -7606,8 +7606,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -7616,12 +7616,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SystemStatus" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -7657,18 +7657,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "type": "string" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7687,8 +7690,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -7697,8 +7700,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -7707,8 +7710,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -7717,8 +7720,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -7727,15 +7730,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -7749,18 +7749,32 @@ "description": "List cloud service providers with active plugin.
Required role: admin or csp or isv or user
", "operationId": "getActiveCsps", "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "type": "string", + "enum": [ + "HuaweiCloud", + "FlexibleEngine", + "OpenstackTestlab", + "PlusServer", + "RegioCloud", + "AlibabaCloud", + "aws", + "azure", + "GoogleCloudPlatform" + ] + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7779,8 +7793,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -7789,8 +7803,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -7799,8 +7813,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -7809,8 +7823,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -7819,26 +7833,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "HuaweiCloud", - "FlexibleEngine", - "OpenstackTestlab", - "PlusServer", - "RegioCloud", - "AlibabaCloud", - "aws", - "azure", - "GoogleCloudPlatform" - ] - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -7932,18 +7932,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ServiceTemplateDetailVo" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -7962,8 +7965,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -7972,8 +7975,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -7982,8 +7985,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -7992,8 +7995,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -8002,15 +8005,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateDetailVo" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -8036,18 +8036,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceTemplateDetailVo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8066,8 +8066,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -8076,8 +8076,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -8086,8 +8086,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -8096,8 +8096,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -8106,12 +8106,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceTemplateDetailVo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -8157,18 +8157,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ServiceTemplateRequestHistory" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8187,8 +8190,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -8197,8 +8200,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -8207,8 +8210,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -8217,8 +8220,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -8227,15 +8230,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateRequestHistory" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -8261,18 +8261,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ServiceTemplateRequestToReview" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8291,8 +8294,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -8301,8 +8304,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -8311,8 +8314,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -8321,8 +8324,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -8331,15 +8334,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateRequestToReview" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -8424,18 +8424,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "type": "string" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8454,8 +8457,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -8464,8 +8467,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -8474,8 +8477,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -8484,8 +8487,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -8494,15 +8497,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -8576,18 +8576,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "type": "string" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8606,8 +8609,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -8616,8 +8619,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -8626,8 +8629,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -8636,8 +8639,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -8646,15 +8649,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -8700,18 +8700,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/Link" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8730,8 +8730,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -8740,8 +8740,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -8750,8 +8750,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -8760,8 +8760,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -8770,12 +8770,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Link" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -8830,18 +8830,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/AbstractCredentialInfo" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8860,8 +8863,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -8870,8 +8873,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -8880,8 +8883,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -8890,8 +8893,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -8900,15 +8903,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AbstractCredentialInfo" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -8944,18 +8944,22 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "type": "string", + "enum": ["variables", "http_authentication", "api_key", "oauth2"] + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -8974,8 +8978,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -8984,8 +8988,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -8994,8 +8998,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -9004,8 +9008,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9014,16 +9018,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "type": "string", - "enum": ["variables", "http_authentication", "api_key", "oauth2"] - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -9109,18 +9109,29 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/UserOrderableServiceVo" + } + } + }, + "application/hal+json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserOrderableServiceVo" + } } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9139,8 +9150,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -9149,8 +9160,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -9159,8 +9170,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -9169,8 +9180,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9179,23 +9190,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserOrderableServiceVo" - } - } - }, - "application/hal+json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserOrderableServiceVo" - } + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -9221,18 +9221,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/UserOrderableServiceVo" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9251,8 +9251,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -9261,8 +9261,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -9271,8 +9271,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -9281,8 +9281,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9291,12 +9291,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserOrderableServiceVo" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -9321,18 +9321,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/Link" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9351,8 +9351,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -9361,8 +9361,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -9371,8 +9371,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -9381,8 +9381,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9391,12 +9391,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Link" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -9430,18 +9430,18 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/TokenResponse" } } } }, - "502": { - "description": "Bad Gateway", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9460,8 +9460,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -9470,8 +9470,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -9480,8 +9480,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -9490,8 +9490,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9500,12 +9500,12 @@ } } }, - "200": { - "description": "OK", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TokenResponse" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -9519,8 +9519,11 @@ "description": "Get and redirect authorization url for user to authenticate.", "operationId": "authorize", "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "OK" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9529,8 +9532,8 @@ } } }, - "502": { - "description": "Bad Gateway", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -9539,8 +9542,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -9549,8 +9552,8 @@ } } }, - "400": { - "description": "Bad Request", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -9569,8 +9572,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9579,8 +9582,8 @@ } } }, - "408": { - "description": "Request Timeout", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { @@ -9588,9 +9591,6 @@ } } } - }, - "200": { - "description": "OK" } } } @@ -9622,18 +9622,21 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", + "200": { + "description": "pending service change update request details", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/ServiceChangeRequest" } } } }, - "502": { - "description": "Bad Gateway", + "204": { + "description": "no pending service change update requests" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -9652,8 +9655,8 @@ } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -9662,8 +9665,8 @@ } } }, - "422": { - "description": "Unprocessable Entity", + "408": { + "description": "Request Timeout", "content": { "application/json": { "schema": { @@ -9672,8 +9675,8 @@ } } }, - "403": { - "description": "Forbidden", + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -9682,8 +9685,8 @@ } } }, - "408": { - "description": "Request Timeout", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -9692,15 +9695,12 @@ } } }, - "204": { - "description": "no pending service change update requests" - }, - "200": { - "description": "pending service change update request details", + "502": { + "description": "Bad Gateway", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceChangeRequest" + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -9726,17 +9726,17 @@ } ], "responses": { - "500": { - "description": "", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrderFailedErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { + "400": { "description": "", "content": { "application/json": { @@ -9756,7 +9756,7 @@ } } }, - "400": { + "403": { "description": "", "content": { "application/json": { @@ -9766,7 +9766,7 @@ } } }, - "422": { + "408": { "description": "", "content": { "application/json": { @@ -9776,7 +9776,7 @@ } } }, - "403": { + "422": { "description": "", "content": { "application/json": { @@ -9786,7 +9786,7 @@ } } }, - "408": { + "500": { "description": "", "content": { "application/json": { @@ -9796,12 +9796,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/OrderFailedErrorResponse" } } } @@ -9827,17 +9827,17 @@ } ], "responses": { - "500": { - "description": "", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrderFailedErrorResponse" + "$ref": "#/components/schemas/ServiceOrder" } } } }, - "502": { + "400": { "description": "", "content": { "application/json": { @@ -9857,7 +9857,7 @@ } } }, - "400": { + "403": { "description": "", "content": { "application/json": { @@ -9867,7 +9867,7 @@ } } }, - "422": { + "408": { "description": "", "content": { "application/json": { @@ -9877,7 +9877,7 @@ } } }, - "403": { + "422": { "description": "", "content": { "application/json": { @@ -9887,7 +9887,7 @@ } } }, - "408": { + "500": { "description": "", "content": { "application/json": { @@ -9897,12 +9897,12 @@ } } }, - "202": { - "description": "Accepted", + "502": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceOrder" + "$ref": "#/components/schemas/OrderFailedErrorResponse" } } } @@ -10404,64 +10404,6 @@ }, "required": ["name", "regions"] }, - "DeployVariable": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the deploy variable" - }, - "kind": { - "$ref": "#/components/schemas/DeployVariableKind", - "description": "The kind of the deploy variable" - }, - "dataType": { - "type": "string", - "description": "The type of the deploy variable", - "enum": ["string", "number", "boolean"] - }, - "example": { - "type": "string", - "description": "The example value of the deploy variable" - }, - "description": { - "type": "string", - "description": "The description of the deploy variable" - }, - "value": { - "type": "string", - "description": "The value of the deploy variable. Value can be provided for default variables" - }, - "mandatory": { - "type": "boolean", - "description": "Indicates if the variable is mandatory" - }, - "valueSchema": { - "type": "object", - "additionalProperties": true, - "description": "valueSchema of the variable. The key be any keyword that is part of the JSON schema definition which can be found here https://json-schema.org/draft/2020-12/meta/validation. Only the type field is taken from dataType parameter directly." - }, - "sensitiveScope": { - "type": "string", - "description": "Sensitive scope of variable storage", - "enum": ["none", "once", "always"] - }, - "autoFill": { - "$ref": "#/components/schemas/AutoFill", - "description": "Variable autofill. Defines if the variable must be one of the existing resources of a specific type." - }, - "modificationImpact": { - "$ref": "#/components/schemas/ModificationImpact", - "description": "Variable modificationImpact" - } - }, - "required": ["dataType", "description", "kind", "mandatory", "modificationImpact", "name"] - }, - "DeployVariableKind": { - "type": "string", - "description": "- `fix_env`: Values for variable of this type are defined by the managed service provider \nin the OCL template. Runtime will inject it to deployer as environment variables. \nThis variable is not visible to the end user.\n- `fix_variable`: Values for variable of this type are defined by the managed service \nprovider in the OCL template. Runtime will inject it to deployer as usual variables. \nThis variable is not visible to the end user.\n- `env`: Value for a variable of this type can be provided by end user. \nIf marked as mandatory then end user must provide value to this variable. \nIf marked as optional and if end user does not provide it, \nthen the fallback value to this variable is read by runtime (it can read from other sources,\n e.g., OS env variables). This variable is injected as an environment \n variable to the deployer.\n- `variable`: Value for a variable of this type can be provided by end user. \nIf marked as mandatory then end user must provide value to this variable. \nIf marked as optional and if end user does not provide it, \nthen the fallback value to this variable is read by runtime (it can read from other sources,\n e.g., OS env variables). This variable is injected as a regular variable to the deployer.\n- `env_env`: Value to this variable is read by runtime \n(it can read from other sources, e.g., OS env variables) \nand injected as an environment variable to the deployer. \nEnd user cannot see or change this variable.\n- `env_variable`: Value to this variable is read by runtime \n(it can read from other sources, e.g., OS env variables) \nand injected as a regular variable to the deployer. \nEnd user cannot see or change this variable.", - "enum": ["fix_env", "fix_variable", "env", "variable", "env_env", "env_variable"] - }, "DeployerTool": { "type": "object", "properties": { @@ -10485,11 +10427,18 @@ "$ref": "#/components/schemas/DeployerTool", "description": "The deployer tool which will handle the service deployment." }, - "variables": { + "inputVariables": { + "type": "array", + "description": "The input variables for the deployment, which will be passed to the deployer.The list elements must be unique. All input variables are put together to build a JSON 'object' with each variable as a property of this object.", + "items": { + "$ref": "#/components/schemas/InputVariable" + } + }, + "outputVariables": { "type": "array", - "description": "The variables for the deployment, which will be passed to the deployer.The list elements must be unique. All variables are put together to build a JSON 'object' with each variable as a property of this object.", + "description": "The output variables for the deployment, which will be generated by the deployer. The list elements must be unique.", "items": { - "$ref": "#/components/schemas/DeployVariable" + "$ref": "#/components/schemas/OutputVariable" } }, "credentialType": { @@ -10518,7 +10467,7 @@ "description": "Deployment scripts hosted on a GIT repo. Either scriptFiles or scriptsRepo must be provided." } }, - "required": ["deployerTool", "variables"] + "required": ["deployerTool", "inputVariables", "outputVariables"] }, "FlavorsWithPrice": { "type": "object", @@ -10544,6 +10493,59 @@ }, "required": ["isDowngradeAllowed", "modificationImpact", "serviceFlavors"] }, + "InputVariable": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the deploy variable" + }, + "kind": { + "$ref": "#/components/schemas/VariableKind", + "description": "The kind of the deploy variable" + }, + "dataType": { + "type": "string", + "description": "The type of the deploy variable", + "enum": ["string", "number", "boolean"] + }, + "example": { + "type": "string", + "description": "The example value of the deploy variable" + }, + "description": { + "type": "string", + "description": "The description of the deploy variable" + }, + "value": { + "type": "string", + "description": "The value of the deploy variable. Value can be provided for default variables" + }, + "mandatory": { + "type": "boolean", + "description": "Indicates if the variable is mandatory" + }, + "valueSchema": { + "type": "object", + "additionalProperties": true, + "description": "valueSchema of the variable. The key be any keyword that is part of the JSON schema definition which can be found here https://json-schema.org/draft/2020-12/meta/validation. Only the type field is taken from dataType parameter directly." + }, + "sensitiveScope": { + "type": "string", + "description": "Sensitive scope of variable storage", + "enum": ["none", "once", "always"] + }, + "autoFill": { + "$ref": "#/components/schemas/AutoFill", + "description": "Variable autofill. Defines if the variable must be one of the existing resources of a specific type." + }, + "modificationImpact": { + "$ref": "#/components/schemas/ModificationImpact", + "description": "Variable modificationImpact" + } + }, + "required": ["dataType", "description", "kind", "mandatory", "modificationImpact", "name"] + }, "ModificationImpact": { "type": "object", "properties": { @@ -10657,6 +10659,30 @@ "version" ] }, + "OutputVariable": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the output variable" + }, + "dataType": { + "type": "string", + "description": "The type of the output variable", + "enum": ["string", "number", "boolean"] + }, + "description": { + "type": "string", + "description": "The description of the output variable" + }, + "sensitiveScope": { + "type": "string", + "description": "Sensitive scope of variable storage", + "enum": ["none", "once", "always"] + } + }, + "required": ["dataType", "name"] + }, "Price": { "type": "object", "properties": { @@ -10887,7 +10913,7 @@ "description": "The name of the service config parameter" }, "kind": { - "$ref": "#/components/schemas/DeployVariableKind", + "$ref": "#/components/schemas/VariableKind", "description": "The kind of the service config parameter" }, "dataType": { @@ -11038,6 +11064,11 @@ } } }, + "VariableKind": { + "type": "string", + "description": "- `fix_env`: Values for variable of this type are defined by the managed service provider \nin the OCL template. Runtime will inject it to deployer as environment variables. \nThis variable is not visible to the end user.\n- `fix_variable`: Values for variable of this type are defined by the managed service \nprovider in the OCL template. Runtime will inject it to deployer as usual variables. \nThis variable is not visible to the end user.\n- `env`: Value for a variable of this type can be provided by end user. \nIf marked as mandatory then end user must provide value to this variable. \nIf marked as optional and if end user does not provide it, \nthen the fallback value to this variable is read by runtime (it can read from other sources,\n e.g., OS env variables). This variable is injected as an environment \n variable to the deployer.\n- `variable`: Value for a variable of this type can be provided by end user. \nIf marked as mandatory then end user must provide value to this variable. \nIf marked as optional and if end user does not provide it, \nthen the fallback value to this variable is read by runtime (it can read from other sources,\n e.g., OS env variables). This variable is injected as a regular variable to the deployer.\n- `env_env`: Value to this variable is read by runtime \n(it can read from other sources, e.g., OS env variables) \nand injected as an environment variable to the deployer. \nEnd user cannot see or change this variable.\n- `env_variable`: Value to this variable is read by runtime \n(it can read from other sources, e.g., OS env variables) \nand injected as a regular variable to the deployer. \nEnd user cannot see or change this variable.", + "enum": ["fix_env", "fix_variable", "env", "variable", "env_env", "env_variable"] + }, "ServiceTemplateRequestInfo": { "type": "object", "properties": { @@ -11740,6 +11771,13 @@ }, "description": "The input properties to deploy the service." }, + "deployedServiceProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The properties of the deployed service." + }, "serviceTemplateId": { "type": "string", "format": "uuid", @@ -12020,11 +12058,18 @@ "type": "string", "description": "The icon of the orderable service." }, - "variables": { + "inputVariables": { + "type": "array", + "description": "The input variables for the deployment, which will be passed to the deployer.", + "items": { + "$ref": "#/components/schemas/InputVariable" + } + }, + "outputVariables": { "type": "array", - "description": "The variables for the deployment, which will be passed to the deployer.", + "description": "The output variables for the deployment, which will be generated by the deployer.", "items": { - "$ref": "#/components/schemas/DeployVariable" + "$ref": "#/components/schemas/OutputVariable" } }, "flavors": { @@ -12083,13 +12128,14 @@ "description", "flavors", "icon", + "inputVariables", "name", + "outputVariables", "regions", "serviceHostingType", "serviceProviderContactDetails", "serviceTemplateId", "serviceVendor", - "variables", "version" ] }, @@ -12350,6 +12396,13 @@ }, "description": "The input properties to deploy the service." }, + "deployedServiceProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The properties of the deployed service." + }, "serviceTemplateId": { "type": "string", "format": "uuid", @@ -12415,13 +12468,6 @@ "items": { "$ref": "#/components/schemas/DeployResource" } - }, - "deployedServiceProperties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The properties of the deployed service." } }, "required": [ @@ -12524,6 +12570,13 @@ }, "description": "The input properties to deploy the service." }, + "deployedServiceProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The properties of the deployed service." + }, "serviceTemplateId": { "type": "string", "format": "uuid", @@ -12582,13 +12635,6 @@ "serviceConfigurationDetails": { "$ref": "#/components/schemas/ServiceConfigurationDetails", "description": "Details of the service configuration." - }, - "deployedServiceProperties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The properties of the deployed service." } }, "required": [ @@ -12739,11 +12785,18 @@ "$ref": "#/components/schemas/Deployment", "description": "The deployment of the managed service" }, - "variables": { + "inputVariables": { + "type": "array", + "description": "The input variables for the deployment, which will be passed to the deployer.", + "items": { + "$ref": "#/components/schemas/InputVariable" + } + }, + "outputVariables": { "type": "array", - "description": "The variables for the deployment, which will be passed to the deployer.", + "description": "The output variables for the deployment, which will be generated by the deployer.", "items": { - "$ref": "#/components/schemas/DeployVariable" + "$ref": "#/components/schemas/OutputVariable" } }, "flavors": { @@ -12817,17 +12870,18 @@ "description", "flavors", "icon", + "inputVariables", "isAvailableInCatalog", "isReviewInProgress", "lastModifiedTime", "name", + "outputVariables", "regions", "serviceHostingType", "serviceProviderContactDetails", "serviceTemplateId", "serviceTemplateRegistrationState", "serviceVendor", - "variables", "version" ] }, diff --git a/src/xpanse-api/generated/types.gen.ts b/src/xpanse-api/generated/types.gen.ts index fddfdb1ba..828b43725 100644 --- a/src/xpanse-api/generated/types.gen.ts +++ b/src/xpanse-api/generated/types.gen.ts @@ -486,6 +486,12 @@ export type DeployedService = { inputProperties?: { [key: string]: string; }; + /** + * The properties of the deployed service. + */ + deployedServiceProperties?: { + [key: string]: string; + }; /** * The id of the Service Template */ @@ -672,6 +678,12 @@ export type DeployedServiceDetails = { inputProperties?: { [key: string]: string; }; + /** + * The properties of the deployed service. + */ + deployedServiceProperties?: { + [key: string]: string; + }; /** * The id of the Service Template */ @@ -727,12 +739,6 @@ export type DeployedServiceDetails = { * The resource list of the deployed service. */ deployResources?: Array; - /** - * The properties of the deployed service. - */ - deployedServiceProperties?: { - [key: string]: string; - }; }; export type DeployerTool = { @@ -760,9 +766,13 @@ export type Deployment = { */ deployerTool: DeployerTool; /** - * The variables for the deployment, which will be passed to the deployer.The list elements must be unique. All variables are put together to build a JSON 'object' with each variable as a property of this object. + * The input variables for the deployment, which will be passed to the deployer.The list elements must be unique. All input variables are put together to build a JSON 'object' with each variable as a property of this object. + */ + inputVariables: Array; + /** + * The output variables for the deployment, which will be generated by the deployer. The list elements must be unique. */ - variables: Array; + outputVariables: Array; /** * The credential type to do the deployment */ @@ -941,109 +951,6 @@ export enum resourceKind { SUBNET = 'subnet', } -export type DeployVariable = { - /** - * The name of the deploy variable - */ - name: string; - /** - * The kind of the deploy variable - */ - kind: DeployVariableKind; - /** - * The type of the deploy variable - */ - dataType: 'string' | 'number' | 'boolean'; - /** - * The example value of the deploy variable - */ - example?: string; - /** - * The description of the deploy variable - */ - description: string; - /** - * The value of the deploy variable. Value can be provided for default variables - */ - value?: string; - /** - * Indicates if the variable is mandatory - */ - mandatory: boolean; - /** - * valueSchema of the variable. The key be any keyword that is part of the JSON schema definition which can be found here https://json-schema.org/draft/2020-12/meta/validation. Only the type field is taken from dataType parameter directly. - */ - valueSchema?: { - [key: string]: unknown; - }; - /** - * Sensitive scope of variable storage - */ - sensitiveScope?: 'none' | 'once' | 'always'; - /** - * Variable autofill. Defines if the variable must be one of the existing resources of a specific type. - */ - autoFill?: AutoFill; - /** - * Variable modificationImpact - */ - modificationImpact: ModificationImpact; -}; - -/** - * The type of the deploy variable - */ -export enum dataType { - STRING = 'string', - NUMBER = 'number', - BOOLEAN = 'boolean', -} - -/** - * Sensitive scope of variable storage - */ -export enum sensitiveScope { - NONE = 'none', - ONCE = 'once', - ALWAYS = 'always', -} - -/** - * - `fix_env`: Values for variable of this type are defined by the managed service provider - * in the OCL template. Runtime will inject it to deployer as environment variables. - * This variable is not visible to the end user. - * - `fix_variable`: Values for variable of this type are defined by the managed service - * provider in the OCL template. Runtime will inject it to deployer as usual variables. - * This variable is not visible to the end user. - * - `env`: Value for a variable of this type can be provided by end user. - * If marked as mandatory then end user must provide value to this variable. - * If marked as optional and if end user does not provide it, - * then the fallback value to this variable is read by runtime (it can read from other sources, - * e.g., OS env variables). This variable is injected as an environment - * variable to the deployer. - * - `variable`: Value for a variable of this type can be provided by end user. - * If marked as mandatory then end user must provide value to this variable. - * If marked as optional and if end user does not provide it, - * then the fallback value to this variable is read by runtime (it can read from other sources, - * e.g., OS env variables). This variable is injected as a regular variable to the deployer. - * - `env_env`: Value to this variable is read by runtime - * (it can read from other sources, e.g., OS env variables) - * and injected as an environment variable to the deployer. - * End user cannot see or change this variable. - * - `env_variable`: Value to this variable is read by runtime - * (it can read from other sources, e.g., OS env variables) - * and injected as a regular variable to the deployer. - * End user cannot see or change this variable. - */ -export enum DeployVariableKind { - FIX_ENV = 'fix_env', - FIX_VARIABLE = 'fix_variable', - ENV = 'env', - VARIABLE = 'variable', - ENV_ENV = 'env_env', - ENV_VARIABLE = 'env_variable', -} - export type EndUserFlavors = { /** * The flavor name @@ -1279,6 +1186,73 @@ export type FlavorsWithPrice = { downgradeAllowed?: boolean; }; +export type InputVariable = { + /** + * The name of the deploy variable + */ + name: string; + /** + * The kind of the deploy variable + */ + kind: VariableKind; + /** + * The type of the deploy variable + */ + dataType: 'string' | 'number' | 'boolean'; + /** + * The example value of the deploy variable + */ + example?: string; + /** + * The description of the deploy variable + */ + description: string; + /** + * The value of the deploy variable. Value can be provided for default variables + */ + value?: string; + /** + * Indicates if the variable is mandatory + */ + mandatory: boolean; + /** + * valueSchema of the variable. The key be any keyword that is part of the JSON schema definition which can be found here https://json-schema.org/draft/2020-12/meta/validation. Only the type field is taken from dataType parameter directly. + */ + valueSchema?: { + [key: string]: unknown; + }; + /** + * Sensitive scope of variable storage + */ + sensitiveScope?: 'none' | 'once' | 'always'; + /** + * Variable autofill. Defines if the variable must be one of the existing resources of a specific type. + */ + autoFill?: AutoFill; + /** + * Variable modificationImpact + */ + modificationImpact: ModificationImpact; +}; + +/** + * The type of the deploy variable + */ +export enum dataType { + STRING = 'string', + NUMBER = 'number', + BOOLEAN = 'boolean', +} + +/** + * Sensitive scope of variable storage + */ +export enum sensitiveScope { + NONE = 'none', + ONCE = 'once', + ALWAYS = 'always', +} + export type Link = { rel?: string; href?: string; @@ -1581,6 +1555,25 @@ export type OrderFailedErrorResponse = { orderId?: string; }; +export type OutputVariable = { + /** + * The name of the output variable + */ + name: string; + /** + * The type of the output variable + */ + dataType: 'string' | 'number' | 'boolean'; + /** + * The description of the output variable + */ + description?: string; + /** + * Sensitive scope of variable storage + */ + sensitiveScope?: 'none' | 'once' | 'always'; +}; + export type Price = { /** * The value of the cost. @@ -1834,7 +1827,7 @@ export type ServiceChangeParameter = { /** * The kind of the service config parameter */ - kind: DeployVariableKind; + kind: VariableKind; /** * The type of the service config parameter */ @@ -2394,9 +2387,13 @@ export type ServiceTemplateDetailVo = { */ deployment: Deployment; /** - * The variables for the deployment, which will be passed to the deployer. + * The input variables for the deployment, which will be passed to the deployer. + */ + inputVariables: Array; + /** + * The output variables for the deployment, which will be generated by the deployer. */ - variables: Array; + outputVariables: Array; /** * The flavors of the registered service. */ @@ -2645,9 +2642,13 @@ export type UserOrderableServiceVo = { */ icon: string; /** - * The variables for the deployment, which will be passed to the deployer. + * The input variables for the deployment, which will be passed to the deployer. + */ + inputVariables: Array; + /** + * The output variables for the deployment, which will be generated by the deployer. */ - variables: Array; + outputVariables: Array; /** * The flavors of the orderable service. */ @@ -2767,6 +2768,42 @@ export type UserPolicyUpdateRequest = { enabled?: boolean; }; +/** + * - `fix_env`: Values for variable of this type are defined by the managed service provider + * in the OCL template. Runtime will inject it to deployer as environment variables. + * This variable is not visible to the end user. + * - `fix_variable`: Values for variable of this type are defined by the managed service + * provider in the OCL template. Runtime will inject it to deployer as usual variables. + * This variable is not visible to the end user. + * - `env`: Value for a variable of this type can be provided by end user. + * If marked as mandatory then end user must provide value to this variable. + * If marked as optional and if end user does not provide it, + * then the fallback value to this variable is read by runtime (it can read from other sources, + * e.g., OS env variables). This variable is injected as an environment + * variable to the deployer. + * - `variable`: Value for a variable of this type can be provided by end user. + * If marked as mandatory then end user must provide value to this variable. + * If marked as optional and if end user does not provide it, + * then the fallback value to this variable is read by runtime (it can read from other sources, + * e.g., OS env variables). This variable is injected as a regular variable to the deployer. + * - `env_env`: Value to this variable is read by runtime + * (it can read from other sources, e.g., OS env variables) + * and injected as an environment variable to the deployer. + * End user cannot see or change this variable. + * - `env_variable`: Value to this variable is read by runtime + * (it can read from other sources, e.g., OS env variables) + * and injected as a regular variable to the deployer. + * End user cannot see or change this variable. + */ +export enum VariableKind { + FIX_ENV = 'fix_env', + FIX_VARIABLE = 'fix_variable', + ENV = 'env', + VARIABLE = 'variable', + ENV_ENV = 'env_env', + ENV_VARIABLE = 'env_variable', +} + export type VendorHostedDeployedServiceDetails = { /** * The ID of the service @@ -2839,6 +2876,12 @@ export type VendorHostedDeployedServiceDetails = { inputProperties?: { [key: string]: string; }; + /** + * The properties of the deployed service. + */ + deployedServiceProperties?: { + [key: string]: string; + }; /** * The id of the Service Template */ @@ -2890,12 +2933,6 @@ export type VendorHostedDeployedServiceDetails = { * Details of the service configuration. */ serviceConfigurationDetails?: ServiceConfigurationDetails; - /** - * The properties of the deployed service. - */ - deployedServiceProperties?: { - [key: string]: string; - }; }; export type WorkFlowTask = {