Skip to content

Commit

Permalink
[SELC-5804] fix: Removed required field filename for import psp
Browse files Browse the repository at this point in the history
  • Loading branch information
pierpaolodidato89 authored Oct 29, 2024
1 parent cbab0e3 commit 07338b8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions apps/onboarding-ms/src/main/docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2309,11 +2309,10 @@
}
},
"OnboardingImportContract" : {
"required" : [ "fileName", "filePath", "createdAt" ],
"required" : [ "filePath", "createdAt" ],
"type" : "object",
"properties" : {
"fileName" : {
"minLength" : 1,
"type" : "string"
},
"filePath" : {
Expand Down
2 changes: 0 additions & 2 deletions apps/onboarding-ms/src/main/docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1670,13 +1670,11 @@ components:
$ref: "#/components/schemas/OnboardingGet"
OnboardingImportContract:
required:
- fileName
- filePath
- createdAt
type: object
properties:
fileName:
minLength: 1
type: string
filePath:
minLength: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
@Builder
public class OnboardingImportContract {

@NotEmpty(message = "fileName is required")
private String fileName;
@NotEmpty(message = "filePath is required")
private String filePath;
Expand Down

0 comments on commit 07338b8

Please sign in to comment.