CPD Results
The following document contains the results of PMD's CPD 7.0.0.
Duplications
File |
Project |
Line |
org/bremersee/groupman/api/GroupWebfluxControllerApi.java |
groupman-api-spring-reactive |
115 |
org/bremersee/groupman/api/GroupControllerApi.java |
groupman-api-spring |
115 |
Mono<Group> getGroupById(
@Parameter(description = "The group ID.", required = true) @PathVariable("id") String id);
/**
* Update group.
*
* @param id the group id
* @param group the group
* @return the group
*/
@Operation(
summary = "Update group.",
operationId = "updateGroup",
tags = {"group-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "The updated group.",
content = @Content(
schema = @Schema(
implementation = Group.class))),
@ApiResponse(
responseCode = "400",
description = "Bad Request",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class))),
@ApiResponse(
responseCode = "403",
description = "Forbidden"),
@ApiResponse(
responseCode = "404",
description = "Not Found",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class))),
@ApiResponse(
responseCode = "409",
description = "Version is not up to date",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class)))
})
@RequestMapping(
value = "/api/groups/{id}",
produces = {"application/json"},
consumes = {"application/json"},
method = RequestMethod.PUT) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupAdminWebfluxControllerApi.java |
groupman-api-spring-reactive |
145 |
org/bremersee/groupman/api/GroupAdminControllerApi.java |
groupman-api-spring |
146 |
Mono<Group> findGroupById(
@Parameter(description = "The group ID.", required = true) @PathVariable("id") String id);
/**
* Modifies group.
*
* @param groupId the group id
* @param group the group
* @return the group
*/
@Operation(
summary = "Modify group.",
operationId = "modifyGroup",
tags = {"group-admin-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "The modified group.",
content = @Content(
schema = @Schema(
implementation = Group.class))),
@ApiResponse(
responseCode = "400",
description = "Bad Request",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class))),
@ApiResponse(
responseCode = "403",
description = "Forbidden"),
@ApiResponse(
responseCode = "404",
description = "Not Found",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class)))
})
@RequestMapping(
value = "/api/admin/groups/{id}",
produces = {"application/json"},
consumes = {"application/json"},
method = RequestMethod.PUT) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupAdminWebfluxControllerApi.java |
groupman-api-spring-reactive |
71 |
org/bremersee/groupman/api/GroupAdminControllerApi.java |
groupman-api-spring |
70 |
Flux<Group> findGroups();
/**
* Adds group.
*
* @param group the group
* @return the group
*/
@Operation(
summary = "Add a new group.",
operationId = "addGroup",
tags = {"group-admin-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "The added group.",
content = @Content(
schema = @Schema(
implementation = Group.class))),
@ApiResponse(
responseCode = "400",
description = "Bad Request",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class))),
@ApiResponse(
responseCode = "403",
description = "Forbidden"),
@ApiResponse(
responseCode = "409",
description = "Group already exists",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class)))
})
@RequestMapping(
value = "/api/admin/groups",
produces = {"application/json"},
consumes = {"application/json"},
method = RequestMethod.POST) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupWebfluxControllerApi.java |
groupman-api-spring-reactive |
47 |
org/bremersee/groupman/api/GroupControllerApi.java |
groupman-api-spring |
46 |
public interface GroupWebfluxControllerApi {
/**
* Create group.
*
* @param group the group
* @return the group
*/
@Operation(
summary = "Create a new group.",
operationId = "createGroup",
tags = {"group-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "The created group.",
content = @Content(
schema = @Schema(
implementation = Group.class))),
@ApiResponse(
responseCode = "400",
description = "Bad Request",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class))),
@ApiResponse(
responseCode = "409",
description = "Group already exists",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class)))
})
@RequestMapping(
value = "/api/groups",
produces = {"application/json"},
consumes = {"application/json"},
method = RequestMethod.POST) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupAdminWebfluxControllerApi.java |
groupman-api-spring-reactive |
111 |
org/bremersee/groupman/api/GroupAdminControllerApi.java |
groupman-api-spring |
111 |
Mono<Group> addGroup(
@Parameter(description = "The new group.", required = true) @Valid @RequestBody Group group);
/**
* Finds group by id.
*
* @param id the group id
* @return the group by id
*/
@Operation(
summary = "Find a group.",
operationId = "findGroupById",
tags = {"group-admin-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "The group.",
content = @Content(
schema = @Schema(
implementation = Group.class))),
@ApiResponse(
responseCode = "404",
description = "Not Found",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class))),
@ApiResponse(
responseCode = "403",
description = "Forbidden")
})
@RequestMapping(
value = "/api/admin/groups/{id}",
produces = {"application/json"},
method = RequestMethod.GET) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupWebfluxControllerApi.java |
groupman-api-spring-reactive |
163 |
org/bremersee/groupman/api/GroupControllerApi.java |
groupman-api-spring |
164 |
Mono<Group> updateGroup(
@Parameter(description = "The group ID.", required = true) @PathVariable("id") String id,
@Parameter(description = "The group.", required = true) @Valid @RequestBody Group group);
/**
* Delete group.
*
* @param id the group id
* @return the mono
*/
@Operation(
summary = "Delete a group.",
operationId = "deleteGroup",
tags = {"group-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "OK"),
@ApiResponse(
responseCode = "403",
description = "Forbidden"),
@ApiResponse(
responseCode = "404",
description = "Not Found",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class)))
})
@RequestMapping(
value = "/api/groups/{id}",
method = RequestMethod.DELETE) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupWebfluxControllerApi.java |
groupman-api-spring-reactive |
84 |
org/bremersee/groupman/api/GroupControllerApi.java |
groupman-api-spring |
83 |
Mono<Group> createGroup(
@Parameter(description = "The new group.", required = true) @Valid @RequestBody Group group);
/**
* Gets group by id.
*
* @param id the group id
* @return the group by id
*/
@Operation(
summary = "Get a group.",
operationId = "getGroupById",
tags = {"group-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "The group.",
content = @Content(
schema = @Schema(
implementation = Group.class))),
@ApiResponse(
responseCode = "404",
description = "Not Found",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class)))
})
@RequestMapping(
value = "/api/groups/{id}",
produces = {"application/json"},
method = RequestMethod.GET) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupAdminWebfluxControllerApi.java |
groupman-api-spring-reactive |
212 |
org/bremersee/groupman/api/GroupAdminControllerApi.java |
groupman-api-spring |
215 |
Mono<Void> removeGroup(
@Parameter(description = "The group ID.", required = true) @PathVariable("id") String id);
/**
* Finds groups by ids.
*
* @param id the list of ids
* @return the groups by ids
*/
@Operation(
summary = "Find groups by id.",
operationId = "findGroupsByIds",
tags = {"group-admin-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "The groups.",
content = @Content(
array = @ArraySchema(
schema = @Schema(implementation = Group.class)))),
@ApiResponse(
responseCode = "403",
description = "Forbidden")
})
@RequestMapping(
value = "/api/admin/groups/f",
produces = {"application/json"},
method = RequestMethod.GET) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupAdminWebfluxControllerApi.java |
groupman-api-spring-reactive |
162 |
org/bremersee/groupman/api/GroupWebfluxControllerApi.java |
groupman-api-spring-reactive |
132 |
org/bremersee/groupman/api/GroupAdminControllerApi.java |
groupman-api-spring |
164 |
org/bremersee/groupman/api/GroupControllerApi.java |
groupman-api-spring |
133 |
description = "The modified group.",
content = @Content(
schema = @Schema(
implementation = Group.class))),
@ApiResponse(
responseCode = "400",
description = "Bad Request",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class))),
@ApiResponse(
responseCode = "403",
description = "Forbidden"),
@ApiResponse(
responseCode = "404",
description = "Not Found",
content = @Content(
schema = @Schema(
implementation = org.bremersee.exception.model.RestApiException.class))) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupWebfluxControllerApi.java |
groupman-api-spring-reactive |
219 |
org/bremersee/groupman/api/GroupControllerApi.java |
groupman-api-spring |
222 |
Flux<Group> getGroupsByIds(
@Parameter(description = "Group IDs")
@RequestParam(value = "id", required = false) List<String> id);
/**
* Gets editable groups.
*
* @return the editable groups
*/
@Operation(
summary = "Get editable groups.",
operationId = "getEditableGroups",
tags = {"group-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "The groups.",
content = @Content(
array = @ArraySchema(
schema = @Schema(implementation = Group.class))))
})
@RequestMapping(
value = "/api/groups/f/editable",
produces = {"application/json"},
method = RequestMethod.GET) |
File |
Project |
Line |
org/bremersee/groupman/api/GroupWebfluxControllerApi.java |
groupman-api-spring-reactive |
194 |
org/bremersee/groupman/api/GroupControllerApi.java |
groupman-api-spring |
196 |
Mono<Void> deleteGroup(
@Parameter(description = "The group ID.", required = true) @PathVariable("id") String id);
/**
* Gets groups by ids.
*
* @param id the list of ids
* @return the groups by ids
*/
@Operation(
summary = "Get groups by id.",
operationId = "getGroupsByIds",
tags = {"group-controller"})
@ApiResponses(value = {
@ApiResponse(
responseCode = "200",
description = "The groups.",
content = @Content(
array = @ArraySchema(
schema = @Schema(implementation = Group.class))))
})
@RequestMapping(
value = "/api/groups/f",
produces = {"application/json"},
method = RequestMethod.GET) |