Skip to content

Commit

Permalink
align selcRole description
Browse files Browse the repository at this point in the history
  • Loading branch information
giulia-tremolada committed Nov 22, 2024
1 parent 4abfb55 commit f48a96a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 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 @@ -3938,7 +3938,7 @@
},
"selcRole" : {
"type" : "string",
"description" : "User's role, available value: [MANAGER, DELEGATE, SUBDELEGATE, OPERATOR, ADMIN_EA]",
"description" : "User's Selfcare role, available value: [ADMIN, ADMIN_EA, LIMITED]",
"enum" : [ "ADMIN", "ADMIN_EA", "LIMITED" ]
},
"status" : {
Expand Down Expand Up @@ -4031,7 +4031,7 @@
},
"role" : {
"type" : "string",
"description" : "User's role, available value: [MANAGER, DELEGATE, SUBDELEGATE, OPERATOR, ADMIN_EA]",
"description" : "User's Selfcare role, available value: [ADMIN, ADMIN_EA, LIMITED]",
"enum" : [ "ADMIN", "ADMIN_EA", "LIMITED" ]
},
"status" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class ProductRoleInfoResource {
private String role;
@ApiModelProperty(value = "${swagger.dashboard.user.model.status}")
private String status;
@ApiModelProperty(value = "${swagger.dashboard.user.model.role}")
@ApiModelProperty(value = "${swagger.dashboard.user.model.selcRole}")
private SelfCareAuthority selcRole;

}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class ProductUserResource {
@ApiModelProperty(value = "${swagger.dashboard.user.model.email}")
private String email;

@ApiModelProperty(value = "${swagger.dashboard.user.model.role}")
@ApiModelProperty(value = "${swagger.dashboard.user.model.selcRole}")
private SelfCareAuthority role;

@ApiModelProperty(value = "${swagger.dashboard.user.model.product}")
Expand Down
1 change: 1 addition & 0 deletions web/src/main/resources/swagger/swagger_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ swagger.dashboard.user.model.email=User's personal email
swagger.dashboard.user.model.workContacts=User's workcontacts, contains the emails associated to every institution the user is assigned to
swagger.dashboard.user.model.institutionalEmail=User's institutional email
swagger.dashboard.user.model.role=User's role, available value: [MANAGER, DELEGATE, SUBDELEGATE, OPERATOR, ADMIN_EA]
swagger.dashboard.user.model.selcRole=User's Selfcare role, available value: [ADMIN, ADMIN_EA, LIMITED]
swagger.dashboard.user.model.fields=Fields to retrieve from pdv when searching for user
swagger.dashboard.user.model.createdAt=User's creation date associated with a product
swagger.dashboard.products.model.roleInfos=User's role infos in product
Expand Down

0 comments on commit f48a96a

Please sign in to comment.