Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
[SELC-5044] chore: remove tag external-v2 and support from /v2/delega…
Browse files Browse the repository at this point in the history
…tions (#507)
  • Loading branch information
manuraf authored Jun 7, 2024
1 parent a354cfe commit b672e5b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
10 changes: 5 additions & 5 deletions app/src/main/resources/swagger/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"tags" : [ {
"name" : "Delegation",
"description" : "Delegation Controller"
}, {
"name" : "Event",
"description" : "Queue Notification Controller"
}, {
"name" : "External",
"description" : "External Controller"
Expand All @@ -33,9 +36,6 @@
}, {
"name" : "Onboarding",
"description" : "Onboarding Controller"
}, {
"name" : "kafka",
"description" : "Queue Notification Controller"
} ],
"paths" : {
"/delegations" : {
Expand Down Expand Up @@ -340,7 +340,7 @@
},
"/v2/delegations" : {
"get" : {
"tags" : [ "Delegation", "external-v2", "support" ],
"tags" : [ "Delegation" ],
"summary" : "Retrieve institution's delegations with pagination",
"description" : "Retrieve institution's delegations with pagination",
"operationId" : "getDelegationsUsingGET_1",
Expand Down Expand Up @@ -2393,7 +2393,7 @@
},
"/notification-event/contracts" : {
"put" : {
"tags" : [ "kafka" ],
"tags" : [ "Event" ],
"summary" : "resendContractsByInstitutionIdAndTokenId",
"description" : "Function to send a specific onboarding using institutionId and tokenId ",
"operationId" : "resendContractsByInstitutionIdAndTokenIdUsingPUT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import io.swagger.v3.oas.annotations.tags.Tag;
import it.pagopa.selfcare.mscore.constant.GenericError;
import it.pagopa.selfcare.mscore.constant.Order;
import it.pagopa.selfcare.mscore.core.DelegationService;
Expand Down Expand Up @@ -48,9 +47,6 @@ public DelegationV2Controller(DelegationService delegationService,
* * Code: 404, Message: Institution data not found, DataType: Problem
* * Code: 400, Message: Bad Request, DataType: Problem
*/
@Tag(name = "external-v2")
@Tag(name = "support")
@Tag(name = "Delegation")
@ApiOperation(value = "${swagger.mscore.institutions.delegationsV2}", notes = "${swagger.mscore.institutions.delegationsv2}")
@GetMapping(produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<DelegationWithPaginationResponse> getDelegations(@ApiParam("${swagger.mscore.institutions.model.institutionId}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Optional;

@RestController
@Slf4j
@RequestMapping("/notification-event")
@Api(tags = "kafka")
@Api(tags = "Event")
public class QueueNotificationController {

private final QueueNotificationService queueNotificationService;
Expand Down

0 comments on commit b672e5b

Please sign in to comment.