Skip to content

Commit

Permalink
[SELC - 4376] feat: added API to complete users onboarding (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
gianmarcoplutino authored Jun 17, 2024
1 parent 56cef14 commit 87b6345
Show file tree
Hide file tree
Showing 11 changed files with 1,431 additions and 1,370 deletions.
93 changes: 93 additions & 0 deletions app/src/main/resources/swagger/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1621,6 +1621,99 @@
} ]
}
},
"/v2/tokens/{onboardingId}/completeOnboardingUsers" : {
"post" : {
"tags" : [ "tokens" ],
"summary" : "Complete an onboarding users request",
"description" : "Complete an onboarding users request",
"operationId" : "completeOnboardingUsersUsingPOST",
"parameters" : [ {
"name" : "onboardingId",
"in" : "path",
"description" : "Onboarding's unique identifier",
"required" : true,
"style" : "simple",
"schema" : {
"type" : "string"
}
} ],
"requestBody" : {
"content" : {
"multipart/form-data" : {
"schema" : {
"required" : [ "contract" ],
"type" : "object",
"properties" : {
"contract" : {
"type" : "string",
"description" : "contract",
"format" : "binary"
}
}
}
}
}
},
"responses" : {
"204" : {
"description" : "No Content"
},
"400" : {
"description" : "Bad Request",
"content" : {
"application/problem+json" : {
"schema" : {
"$ref" : "#/components/schemas/Problem"
}
}
}
},
"401" : {
"description" : "Unauthorized",
"content" : {
"application/problem+json" : {
"schema" : {
"$ref" : "#/components/schemas/Problem"
}
}
}
},
"404" : {
"description" : "Not Found",
"content" : {
"application/problem+json" : {
"schema" : {
"$ref" : "#/components/schemas/Problem"
}
}
}
},
"409" : {
"description" : "Conflict",
"content" : {
"application/problem+json" : {
"schema" : {
"$ref" : "#/components/schemas/Problem"
}
}
}
},
"500" : {
"description" : "Internal Server Error",
"content" : {
"application/problem+json" : {
"schema" : {
"$ref" : "#/components/schemas/Problem"
}
}
}
}
},
"security" : [ {
"bearerAuth" : [ "global" ]
} ]
}
},
"/v2/tokens/{onboardingId}/contract" : {
"get" : {
"tags" : [ "tokens" ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public interface OnboardingMsConnector {

void onboardingTokenComplete(String onboardingId, MultipartFile contract);

void onboardingUsersComplete(String onboardingId, MultipartFile contract);

void onboardingPending(String onboardingId);

void approveOnboarding(String onboardingId);
Expand Down
Loading

0 comments on commit 87b6345

Please sign in to comment.