Skip to content

Commit

Permalink
[Update OpenAPI] Merge openapi UAT using openapi-merge-cli (#361)
Browse files Browse the repository at this point in the history
Co-authored-by: manuraf <12083207+manuraf@users.noreply.github.com>
  • Loading branch information
selfcare-github-bot and manuraf authored Sep 12, 2024
1 parent c3fe18b commit 05c34ad
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 7 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
37 changes: 37 additions & 0 deletions infra/apim_v2/api/ms_internal_api/v1/openapi.uat.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down
21 changes: 15 additions & 6 deletions infra/apim_v2/api/selfcare_support_service/v1/openapi.uat.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 05c34ad

Please sign in to comment.