DDI resource - remove dupplicated annotations (MgmtTargetFilterQueryResource) (#2065)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-11-17 18:42:15 +02:00
committed by GitHub
parent 9154891573
commit 64494d6845
2 changed files with 21 additions and 22 deletions

View File

@@ -164,7 +164,8 @@ public interface MgmtTargetFilterQueryRestApi {
@PostMapping(value = MgmtRestConstants.TARGET_FILTER_V1_REQUEST_MAPPING,
consumes = { MediaTypes.HAL_JSON_VALUE, MediaType.APPLICATION_JSON_VALUE },
produces = { MediaTypes.HAL_JSON_VALUE, MediaType.APPLICATION_JSON_VALUE })
ResponseEntity<MgmtTargetFilterQuery> createFilter(@RequestBody MgmtTargetFilterQueryRequestBody filter);
ResponseEntity<MgmtTargetFilterQuery> createFilter(
@RequestBody MgmtTargetFilterQueryRequestBody filter);
/**
* Handles the PUT request of updating a target filter. The ID is within the URL path of the request. A given ID in the request body is
@@ -272,7 +273,7 @@ public interface MgmtTargetFilterQueryRestApi {
* Handles the POST request for changing distribution set for auto assignment of a target filter.
*
* @param filterId of the target to change
* @param dsIdWithActionType id of the distribution set and the action type for auto assignment
* @param autoAssignRequest id of the distribution set and the action type for auto assignment
* @return http status
*/
@Operation(summary = "Set auto assignment of distribution set for a target filter query",
@@ -309,7 +310,7 @@ public interface MgmtTargetFilterQueryRestApi {
produces = { MediaTypes.HAL_JSON_VALUE, MediaType.APPLICATION_JSON_VALUE })
ResponseEntity<MgmtTargetFilterQuery> postAssignedDistributionSet(
@PathVariable("filterId") Long filterId,
@RequestBody MgmtDistributionSetAutoAssignment dsIdWithActionType);
@RequestBody MgmtDistributionSetAutoAssignment autoAssignRequest);
/**
* Handles the DELETE request for removing the distribution set for auto assignment of a target filter.