Skip to content

Commit

Permalink
MOSIP-38883: Updated API documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Swetha K <[email protected]>
  • Loading branch information
Swetha K committed Jan 13, 2025
1 parent cea373b commit 05b3692
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public ResponseWrapper<String> approveDeviceDetails(
@PostMapping("/search")
@PreAuthorize("hasAnyRole(@authorizedRoles.getPostdevicedetailsearch())")
@Operation(summary = "Service to search DeviceDetails - deprecated since release-1.3.x.",
description = "This endpoint has been deprecated since the release-1.3.x and replaced by the GET /devicedetail/search/v2 endpoint.")
description = "This endpoint has been deprecated since the release-1.3.x and replaced by the GET /devicedetail endpoint.")
public ResponseWrapper<PageResponseDto<DeviceDetailSearchResponseDto>> searchDeviceDetails(
@RequestBody @Valid RequestWrapper<DeviceSearchDto> request) {
ResponseWrapper<PageResponseDto<DeviceDetailSearchResponseDto>> responseWrapper = new ResponseWrapper<>();
Expand Down Expand Up @@ -216,7 +216,7 @@ public ResponseWrapper<PageResponseDto<RegistrationSubTypeDto>> searchDeviceType
@PostMapping("/filtervalues")
@PreAuthorize("hasAnyRole(@authorizedRoles.getPostdevicedetailfiltervalues())")
@Operation(summary = "Service to filter DeviceDetails - deprecated since release-1.3.x.",
description = "This endpoint has been deprecated since the release-1.3.x and replaced by the GET /devicedetail/search/v2 endpoint.")
description = "This endpoint has been deprecated since the release-1.3.x and replaced by the GET /devicedetail endpoint.")
public ResponseWrapper<FilterResponseCodeDto> filterValues(
@RequestBody @Valid RequestWrapper<DeviceFilterValueDto> request) {
ResponseWrapper<FilterResponseCodeDto> responseWrapper = new ResponseWrapper<>();
Expand Down

0 comments on commit 05b3692

Please sign in to comment.