Skip to content

Commit 62c57a6

Browse files
[SELC-7169] Renamed /v2/v2/delegations in /v2/delegations/delegations-with-pagination (#85)
1 parent ca1ca77 commit 62c57a6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/institution-ms/app/src/main/docs/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@
454454
} ]
455455
}
456456
},
457-
"/v2/v2/delegations" : {
457+
"/v2/delegations/delegations-with-pagination" : {
458458
"get" : {
459459
"tags" : [ "Delegation", "external-v2", "support" ],
460460
"summary" : "Retrieve institution's delegations with pagination",

apps/institution-ms/web/src/main/java/it/pagopa/selfcare/mscore/web/controller/DelegationV2Controller.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import java.util.Objects;
2626

2727
@RestController
28-
@RequestMapping(value = {"/v2/delegations", "/v2/v2/delegations"}, produces = MediaType.APPLICATION_JSON_VALUE)
28+
@RequestMapping(value = "/v2/delegations", produces = MediaType.APPLICATION_JSON_VALUE)
2929
@Api(tags = "Delegation")
3030
@Slf4j
3131
public class DelegationV2Controller {
@@ -49,7 +49,7 @@ public DelegationV2Controller(DelegationService delegationService,
4949
* * Code: 400, Message: Bad Request, DataType: Problem
5050
*/
5151
@ApiOperation(value = "${swagger.mscore.institutions.delegationsV2}", notes = "${swagger.mscore.institutions.delegationsv2}")
52-
@GetMapping(produces = MediaType.APPLICATION_JSON_VALUE)
52+
@GetMapping(value = {"", "delegations-with-pagination"}, produces = MediaType.APPLICATION_JSON_VALUE)
5353
@Tag(name = "external-v2")
5454
@Tag(name = "support")
5555
@Tag(name = "Delegation")

0 commit comments

Comments
 (0)