Skip to content

Commit

Permalink
[PNPG-263] fix: changed check manager response property response to r…
Browse files Browse the repository at this point in the history
…esult (#369)
  • Loading branch information
empassaro authored Nov 12, 2024
1 parent 0d197b4 commit 4909ef0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/src/main/resources/swagger/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3402,10 +3402,10 @@
},
"CheckManagerResponse" : {
"title" : "CheckManagerResponse",
"required" : [ "response" ],
"required" : [ "result" ],
"type" : "object",
"properties" : {
"response" : {
"result" : {
"type" : "boolean",
"description" : "Is the given user manager of the institution",
"example" : false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

@Data
public class CheckManagerResponse {
@ApiModelProperty(value = "${swagger.user.check-manager.model.response}", required = true)
@ApiModelProperty(value = "${swagger.user.check-manager.model.result}", required = true)
@JsonProperty(required = true)
private boolean response;
private boolean result;

public CheckManagerResponse(boolean response) {
this.response = response;
public CheckManagerResponse(boolean result) {
this.result = result;
}
}
2 changes: 1 addition & 1 deletion web/src/main/resources/swagger/swagger_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,5 @@ swagger.onboarding.institutions.model.additionalInformations.otherNote=Other not
swagger.onboarding.institutions.model.aggregates=List of Aggregate Institutions, not empty only if isAggregator field's value is True
swagger.onboarding.institutions.model.isAggregator=specified if given institution is an Aggregator

swagger.user.check-manager.model.response=Is the given user manager of the institution
swagger.user.check-manager.model.result=Is the given user manager of the institution

0 comments on commit 4909ef0

Please sign in to comment.