Skip to content

Commit

Permalink
feat: added productName to assignmentDTO (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordenReuter authored Sep 19, 2024
1 parent 38ac1e9 commit 1ae3647
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public interface AssignmentMapper {
Assignment create(Role role, Permission permission);

@Mapping(target = "appId", source = "permission.appId")
@Mapping(target = "productName", source = "permission.productName")
AssignmentDTO map(Assignment data);

default List<Assignment> createList(Role role, List<Permission> permissions) {
Expand Down
2 changes: 2 additions & 0 deletions src/main/openapi/onecx-permission-internal-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,8 @@ components:
type: string
appId:
type: string
productName:
type: string
id:
type: string
mandatory:
Expand Down

0 comments on commit 1ae3647

Please sign in to comment.