Skip to content

Commit 5dc46d0

Browse files
hot-fix: Update schema of onboarding-ms (#454)
1 parent 6e38a10 commit 5dc46d0

File tree

1 file changed

+96
-4
lines changed

1 file changed

+96
-4
lines changed

connector/rest/docs/openapi/api-selfcare-onboarding-docs.json

Lines changed: 96 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@
555555
},
556556
"/v1/onboarding/aggregation/increment" : {
557557
"post" : {
558-
"tags" : [ "Onboarding Controller" ],
558+
"tags" : [ "internal-v1" ],
559559
"summary" : "Perform Increment for aggregates",
560560
"description" : "Perform the increment of the aggregates for an aggregator entity that has already completed the initial onboarding.The API initiates the onboarding process for the aggregated entities received as input.",
561561
"operationId" : "onboardingAggregationIncrement",
@@ -1788,6 +1788,55 @@
17881788
} ]
17891789
}
17901790
},
1791+
"/v1/onboarding/{onboardingId}/upload-contract-signed" : {
1792+
"put" : {
1793+
"tags" : [ "internal-v1" ],
1794+
"summary" : "Update COMPELTED onboarding uploading signed contract",
1795+
"description" : "Uploading signed contract given onboardingId, updating related token",
1796+
"operationId" : "uploadContractSigned",
1797+
"parameters" : [ {
1798+
"name" : "onboardingId",
1799+
"in" : "path",
1800+
"required" : true,
1801+
"schema" : {
1802+
"type" : "string"
1803+
}
1804+
} ],
1805+
"requestBody" : {
1806+
"content" : {
1807+
"multipart/form-data" : {
1808+
"schema" : {
1809+
"required" : [ "contract" ],
1810+
"type" : "object",
1811+
"properties" : {
1812+
"contract" : {
1813+
"format" : "binary",
1814+
"type" : "string"
1815+
}
1816+
}
1817+
}
1818+
}
1819+
}
1820+
},
1821+
"responses" : {
1822+
"200" : {
1823+
"description" : "OK",
1824+
"content" : {
1825+
"application/json" : { }
1826+
}
1827+
},
1828+
"401" : {
1829+
"description" : "Not Authorized"
1830+
},
1831+
"403" : {
1832+
"description" : "Not Allowed"
1833+
}
1834+
},
1835+
"security" : [ {
1836+
"SecurityScheme" : [ ]
1837+
} ]
1838+
}
1839+
},
17911840
"/v1/onboarding/{onboardingId}/withUserInfo" : {
17921841
"get" : {
17931842
"tags" : [ "Onboarding Controller" ],
@@ -2046,6 +2095,46 @@
20462095
} ]
20472096
}
20482097
},
2098+
"/v1/tokens/{onboardingId}/attachment/status" : {
2099+
"head" : {
2100+
"tags" : [ "Token Controller" ],
2101+
"summary" : "Verify attachment availability",
2102+
"description" : "Verifies the availability of the specified attachment in the storage system. A successful check returns HTTP 204 (No Content), while a missing attachment results in HTTP 404 (Not Found).",
2103+
"operationId" : "headAttachment",
2104+
"parameters" : [ {
2105+
"name" : "onboardingId",
2106+
"in" : "path",
2107+
"required" : true,
2108+
"schema" : {
2109+
"type" : "string"
2110+
}
2111+
}, {
2112+
"name" : "name",
2113+
"in" : "query",
2114+
"required" : true,
2115+
"schema" : {
2116+
"type" : "string"
2117+
}
2118+
} ],
2119+
"responses" : {
2120+
"200" : {
2121+
"description" : "OK",
2122+
"content" : {
2123+
"application/json" : { }
2124+
}
2125+
},
2126+
"401" : {
2127+
"description" : "Not Authorized"
2128+
},
2129+
"403" : {
2130+
"description" : "Not Allowed"
2131+
}
2132+
},
2133+
"security" : [ {
2134+
"SecurityScheme" : [ ]
2135+
} ]
2136+
}
2137+
},
20492138
"/v1/tokens/{onboardingId}/contract" : {
20502139
"get" : {
20512140
"tags" : [ "Token Controller" ],
@@ -2263,6 +2352,9 @@
22632352
"$ref" : "#/components/schemas/UserRequest"
22642353
}
22652354
},
2355+
"istatCode" : {
2356+
"type" : "string"
2357+
},
22662358
"recipientCode" : {
22672359
"type" : "string"
22682360
},
@@ -3279,15 +3371,15 @@
32793371
"taxCode" : {
32803372
"type" : "string"
32813373
},
3282-
"toAddOnAggregates" : {
3283-
"type" : "boolean"
3284-
},
32853374
"users" : {
32863375
"minItems" : 1,
32873376
"type" : "array",
32883377
"items" : {
32893378
"$ref" : "#/components/schemas/UserRequest"
32903379
}
3380+
},
3381+
"toAddOnAggregates" : {
3382+
"type" : "boolean"
32913383
}
32923384
}
32933385
},

0 commit comments

Comments
 (0)