Skip to content

Commit 737e553

Browse files
[SELC-8196] feat: Updated open-api onboarding
1 parent a81c14f commit 737e553

File tree

1 file changed

+87
-5
lines changed

1 file changed

+87
-5
lines changed

src/main/docs/openapi/api-selfcare-onboarding-docs.json

Lines changed: 87 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,6 +2210,51 @@
22102210
"SecurityScheme" : [ ]
22112211
} ]
22122212
}
2213+
},
2214+
"/v1/tokens/{onboardingId}/template-attachment" : {
2215+
"get" : {
2216+
"tags" : [ "Token Controller" ],
2217+
"summary" : "Retrieve template attachment for a given onboarding and filename",
2218+
"description" : "Downloads the template attachment file associated with the specified onboarding ID and filename.",
2219+
"operationId" : "getTemplateAttachment",
2220+
"parameters" : [ {
2221+
"name" : "onboardingId",
2222+
"in" : "path",
2223+
"required" : true,
2224+
"schema" : {
2225+
"type" : "string"
2226+
}
2227+
}, {
2228+
"name" : "name",
2229+
"in" : "query",
2230+
"required" : true,
2231+
"schema" : {
2232+
"type" : "string"
2233+
}
2234+
} ],
2235+
"responses" : {
2236+
"200" : {
2237+
"description" : "OK",
2238+
"content" : {
2239+
"application/octet-stream" : {
2240+
"schema" : {
2241+
"format" : "binary",
2242+
"type" : "string"
2243+
}
2244+
}
2245+
}
2246+
},
2247+
"401" : {
2248+
"description" : "Not Authorized"
2249+
},
2250+
"403" : {
2251+
"description" : "Not Allowed"
2252+
}
2253+
},
2254+
"security" : [ {
2255+
"SecurityScheme" : [ ]
2256+
} ]
2257+
}
22132258
}
22142259
},
22152260
"components" : {
@@ -2936,6 +2981,9 @@
29362981
"signContract" : {
29372982
"type" : "boolean"
29382983
},
2984+
"userRequester" : {
2985+
"$ref" : "#/components/schemas/UserRequesterDto"
2986+
},
29392987
"institution" : {
29402988
"$ref" : "#/components/schemas/InstitutionBaseRequest"
29412989
},
@@ -2985,6 +3033,9 @@
29853033
"signContract" : {
29863034
"type" : "boolean"
29873035
},
3036+
"userRequester" : {
3037+
"$ref" : "#/components/schemas/UserRequesterDto"
3038+
},
29883039
"institution" : {
29893040
"$ref" : "#/components/schemas/InstitutionBaseRequest"
29903041
},
@@ -3053,8 +3104,8 @@
30533104
"status" : {
30543105
"type" : "string"
30553106
},
3056-
"userRequestUid" : {
3057-
"type" : "string"
3107+
"userRequester" : {
3108+
"$ref" : "#/components/schemas/UserRequesterResponse"
30583109
},
30593110
"reasonForReject" : {
30603111
"type" : "string"
@@ -3183,6 +3234,9 @@
31833234
"signContract" : {
31843235
"type" : "boolean"
31853236
},
3237+
"userRequester" : {
3238+
"$ref" : "#/components/schemas/UserRequesterDto"
3239+
},
31863240
"institution" : {
31873241
"$ref" : "#/components/schemas/InstitutionBaseRequest"
31883242
},
@@ -3258,6 +3312,9 @@
32583312
"signContract" : {
32593313
"type" : "boolean"
32603314
},
3315+
"userRequester" : {
3316+
"$ref" : "#/components/schemas/UserRequesterDto"
3317+
},
32613318
"institution" : {
32623319
"$ref" : "#/components/schemas/InstitutionPspRequest"
32633320
},
@@ -3299,9 +3356,6 @@
32993356
"additionalInformations" : {
33003357
"$ref" : "#/components/schemas/AdditionalInformationsDto"
33013358
},
3302-
"userRequestUid" : {
3303-
"type" : "string"
3304-
},
33053359
"isAggregator" : {
33063360
"type" : "boolean"
33073361
},
@@ -3313,6 +3367,9 @@
33133367
},
33143368
"referenceOnboardingId" : {
33153369
"type" : "string"
3370+
},
3371+
"userRequester" : {
3372+
"$ref" : "#/components/schemas/UserRequesterResponse"
33163373
}
33173374
}
33183375
},
@@ -3561,6 +3618,31 @@
35613618
}
35623619
}
35633620
},
3621+
"UserRequesterDto" : {
3622+
"type" : "object",
3623+
"properties" : {
3624+
"name" : {
3625+
"type" : "string"
3626+
},
3627+
"surname" : {
3628+
"type" : "string"
3629+
},
3630+
"email" : {
3631+
"type" : "string"
3632+
}
3633+
}
3634+
},
3635+
"UserRequesterResponse" : {
3636+
"type" : "object",
3637+
"properties" : {
3638+
"userMailUuid" : {
3639+
"type" : "string"
3640+
},
3641+
"userRequestUid" : {
3642+
"type" : "string"
3643+
}
3644+
}
3645+
},
35643646
"UserResponse" : {
35653647
"type" : "object",
35663648
"properties" : {

0 commit comments

Comments
 (0)