Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Update OpenAPI] Merge openapi uat using openapi-merge-cli #361

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading