From 6a2864ed4dd94e660482c09857879c764215e500 Mon Sep 17 00:00:00 2001 From: manuraf <12083207+manuraf@users.noreply.github.com> Date: Thu, 12 Sep 2024 07:37:26 +0000 Subject: [PATCH] Update openapi --- .../external_api_contract/v1/openapi.uat.json | 2 +- .../api/ms_internal_api/v1/openapi.uat.json | 37 +++++++++++++++++++ .../v1/openapi.uat.json | 21 ++++++++--- .../pnpg_support_service/v1/openapi.uat.json | 2 + 4 files changed, 55 insertions(+), 7 deletions(-) diff --git a/infra/apim_v2/api/external_api_contract/v1/openapi.uat.json b/infra/apim_v2/api/external_api_contract/v1/openapi.uat.json index 46aa4915..86f9a317 100644 --- a/infra/apim_v2/api/external_api_contract/v1/openapi.uat.json +++ b/infra/apim_v2/api/external_api_contract/v1/openapi.uat.json @@ -40,7 +40,7 @@ "name": "productId", "in": "query", "description": "Product's unique identifier", - "required": true, + "required": false, "style": "form", "schema": { "type": "string" diff --git a/infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json b/infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json index 3bd20e34..08b2e8ed 100644 --- a/infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json +++ b/infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json @@ -1296,6 +1296,10 @@ ], "type": "object", "properties": { + "additionalInformations": { + "description": "GSP institution's additional informations", + "$ref": "#/components/schemas/AdditionalInformationsDto" + }, "assistanceContacts": { "description": "Institution's assistance contacts", "$ref": "#/components/schemas/AssistanceContactsDto" @@ -1377,6 +1381,39 @@ } } }, + "AdditionalInformationsDto": { + "title": "AdditionalInformationsDto", + "type": "object", + "properties": { + "agentOfPublicService": { + "type": "boolean" + }, + "agentOfPublicServiceNote": { + "type": "string" + }, + "belongRegulatedMarket": { + "type": "boolean" + }, + "establishedByRegulatoryProvision": { + "type": "boolean" + }, + "establishedByRegulatoryProvisionNote": { + "type": "string" + }, + "ipa": { + "type": "boolean" + }, + "ipaCode": { + "type": "string" + }, + "otherNote": { + "type": "string" + }, + "regulatedMarketNote": { + "type": "string" + } + } + }, "AssistanceContactsDto": { "title": "AssistanceContactsDto", "type": "object", diff --git a/infra/apim_v2/api/selfcare_support_service/v1/openapi.uat.json b/infra/apim_v2/api/selfcare_support_service/v1/openapi.uat.json index 0cd4ec5a..223fba92 100644 --- a/infra/apim_v2/api/selfcare_support_service/v1/openapi.uat.json +++ b/infra/apim_v2/api/selfcare_support_service/v1/openapi.uat.json @@ -562,7 +562,7 @@ "name": "productId", "in": "query", "description": "Product's unique identifier", - "required": true, + "required": false, "style": "form", "schema": { "type": "string" @@ -1844,6 +1844,7 @@ "role": { "type": "string", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -1924,6 +1925,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -2073,6 +2075,7 @@ "role": { "type": "string", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -2205,6 +2208,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -2305,6 +2309,7 @@ "role": { "type": "string", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -2359,6 +2364,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -2418,6 +2424,7 @@ "type": "string", "description": "User's role", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR", @@ -2496,7 +2503,7 @@ "type": "string" }, "additionalInformations": { - "$ref": "#/components/schemas/AdditionalInformationsDto" + "$ref": "#/components/schemas/AdditionalInformationsDto1" }, "userRequestUid": { "type": "string" @@ -2597,7 +2604,8 @@ "PSP", "AS", "REC", - "CON" + "CON", + "PRV" ], "type": "string" }, @@ -2618,7 +2626,8 @@ "UNKNOWN", "ADE", "INFOCAMERE", - "IVASS" + "IVASS", + "PDND_INFOCAMERE" ], "type": "string" }, @@ -2708,7 +2717,7 @@ } } }, - "AdditionalInformationsDto": { + "AdditionalInformationsDto1": { "type": "object", "properties": { "belongRegulatedMarket": { @@ -2793,7 +2802,7 @@ "$ref": "#/components/schemas/BillingRequest1" }, "additionalInformations": { - "$ref": "#/components/schemas/AdditionalInformationsDto" + "$ref": "#/components/schemas/AdditionalInformationsDto1" } } }, diff --git a/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.uat.json b/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.uat.json index eb410f98..69827832 100644 --- a/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.uat.json +++ b/infra/apim_v2/api_pnpg/pnpg_support_service/v1/openapi.uat.json @@ -1033,6 +1033,7 @@ "GSP", "PA", "PG", + "PRV", "PSP", "PT", "REC", @@ -1114,6 +1115,7 @@ "type": "string", "description": "User's role", "enum": [ + "ADMIN_EA", "DELEGATE", "MANAGER", "OPERATOR",