Skip to content

Commit

Permalink
Update openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
manuraf authored and github-actions[bot] committed Sep 17, 2024
1 parent 44e1995 commit 7c093d2
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"name": "productId",
"in": "query",
"description": "Product's unique identifier",
"required": true,
"required": false,
"style": "form",
"schema": {
"type": "string"
Expand Down
49 changes: 46 additions & 3 deletions infra/apim_v2/api/ms_internal_api/v1/openapi.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,14 @@
"name": "productId",
"in": "query",
"description": "Product's unique identifier",
"required": true,
"required": false,
"style": "form",
"schema": {
"type": "string"
}
},
{
"name": "userId",
"name": "userIdForAuth",
"in": "query",
"description": "User's unique identifier",
"required": false,
Expand All @@ -379,7 +379,7 @@
{
"name": "productRoles",
"in": "query",
"description": "User's roles in product",
"description": "Specific role of the user related to the product.",
"required": false,
"style": "form",
"explode": true,
Expand Down Expand Up @@ -1266,6 +1266,7 @@
"type": "string",
"description": "User's role",
"enum": [
"ADMIN_EA",
"DELEGATE",
"MANAGER",
"OPERATOR",
Expand Down Expand Up @@ -1295,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"
Expand Down Expand Up @@ -1327,6 +1332,7 @@
"GSP",
"PA",
"PG",
"PRV",
"PSP",
"PT",
"REC",
Expand Down Expand Up @@ -1375,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",
Expand Down Expand Up @@ -1584,6 +1623,7 @@
"type": "string",
"description": "User's role",
"enum": [
"ADMIN_EA",
"DELEGATE",
"MANAGER",
"OPERATOR",
Expand Down Expand Up @@ -1629,6 +1669,7 @@
"role": {
"type": "string",
"enum": [
"ADMIN_EA",
"DELEGATE",
"MANAGER",
"OPERATOR",
Expand Down Expand Up @@ -1709,6 +1750,7 @@
"GSP",
"PA",
"PG",
"PRV",
"PSP",
"PT",
"REC",
Expand Down Expand Up @@ -1858,6 +1900,7 @@
"role": {
"type": "string",
"enum": [
"ADMIN_EA",
"DELEGATE",
"MANAGER",
"OPERATOR",
Expand Down
21 changes: 15 additions & 6 deletions infra/apim_v2/api/selfcare_support_service/v1/openapi.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
"name": "productId",
"in": "query",
"description": "Product's unique identifier",
"required": true,
"required": false,
"style": "form",
"schema": {
"type": "string"
Expand Down Expand Up @@ -1844,6 +1844,7 @@
"role": {
"type": "string",
"enum": [
"ADMIN_EA",
"DELEGATE",
"MANAGER",
"OPERATOR",
Expand Down Expand Up @@ -1924,6 +1925,7 @@
"GSP",
"PA",
"PG",
"PRV",
"PSP",
"PT",
"REC",
Expand Down Expand Up @@ -2073,6 +2075,7 @@
"role": {
"type": "string",
"enum": [
"ADMIN_EA",
"DELEGATE",
"MANAGER",
"OPERATOR",
Expand Down Expand Up @@ -2205,6 +2208,7 @@
"GSP",
"PA",
"PG",
"PRV",
"PSP",
"PT",
"REC",
Expand Down Expand Up @@ -2305,6 +2309,7 @@
"role": {
"type": "string",
"enum": [
"ADMIN_EA",
"DELEGATE",
"MANAGER",
"OPERATOR",
Expand Down Expand Up @@ -2359,6 +2364,7 @@
"GSP",
"PA",
"PG",
"PRV",
"PSP",
"PT",
"REC",
Expand Down Expand Up @@ -2418,6 +2424,7 @@
"type": "string",
"description": "User's role",
"enum": [
"ADMIN_EA",
"DELEGATE",
"MANAGER",
"OPERATOR",
Expand Down Expand Up @@ -2496,7 +2503,7 @@
"type": "string"
},
"additionalInformations": {
"$ref": "#/components/schemas/AdditionalInformationsDto"
"$ref": "#/components/schemas/AdditionalInformationsDto1"
},
"userRequestUid": {
"type": "string"
Expand Down Expand Up @@ -2597,7 +2604,8 @@
"PSP",
"AS",
"REC",
"CON"
"CON",
"PRV"
],
"type": "string"
},
Expand All @@ -2618,7 +2626,8 @@
"UNKNOWN",
"ADE",
"INFOCAMERE",
"IVASS"
"IVASS",
"PDND_INFOCAMERE"
],
"type": "string"
},
Expand Down Expand Up @@ -2708,7 +2717,7 @@
}
}
},
"AdditionalInformationsDto": {
"AdditionalInformationsDto1": {
"type": "object",
"properties": {
"belongRegulatedMarket": {
Expand Down Expand Up @@ -2793,7 +2802,7 @@
"$ref": "#/components/schemas/BillingRequest1"
},
"additionalInformations": {
"$ref": "#/components/schemas/AdditionalInformationsDto"
"$ref": "#/components/schemas/AdditionalInformationsDto1"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,7 @@
"GSP",
"PA",
"PG",
"PRV",
"PSP",
"PT",
"REC",
Expand Down Expand Up @@ -1114,6 +1115,7 @@
"type": "string",
"description": "User's role",
"enum": [
"ADMIN_EA",
"DELEGATE",
"MANAGER",
"OPERATOR",
Expand Down

0 comments on commit 7c093d2

Please sign in to comment.