From 216fab5de063ea7dbc0cb59ee765bb11c1d1c4eb Mon Sep 17 00:00:00 2001 From: manuraf Date: Mon, 10 Jun 2024 12:54:55 +0200 Subject: [PATCH] fix user group tag --- apps/user-group-ms/app/src/main/docs/openapi.json | 2 +- .../user_group/web/controller/UserGroupV1Controller.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/user-group-ms/app/src/main/docs/openapi.json b/apps/user-group-ms/app/src/main/docs/openapi.json index d88150d0..41207238 100644 --- a/apps/user-group-ms/app/src/main/docs/openapi.json +++ b/apps/user-group-ms/app/src/main/docs/openapi.json @@ -768,7 +768,7 @@ }, "/v1/user-groups" : { "get" : { - "tags" : [ "external-v2", "support" ], + "tags" : [ "UserGroup", "external-v2", "support" ], "summary" : "getUserGroups", "description" : "Service that allows to get a list of UserGroup entities", "operationId" : "getUserGroupsUsingGET_1", diff --git a/apps/user-group-ms/web/src/main/java/it/pagopa/selfcare/user_group/web/controller/UserGroupV1Controller.java b/apps/user-group-ms/web/src/main/java/it/pagopa/selfcare/user_group/web/controller/UserGroupV1Controller.java index ac5bf93f..c0b21d59 100644 --- a/apps/user-group-ms/web/src/main/java/it/pagopa/selfcare/user_group/web/controller/UserGroupV1Controller.java +++ b/apps/user-group-ms/web/src/main/java/it/pagopa/selfcare/user_group/web/controller/UserGroupV1Controller.java @@ -166,7 +166,9 @@ public UserGroupResource getUserGroup(@ApiParam("${swagger.user-group.model.id}" } - @Tags({@Tag(name = "support"), @Tag(name = "external-v2")}) + @Tag(name = "support") + @Tag(name = "external-v2") + @Tag(name = "UserGroup") @GetMapping() @ResponseStatus(HttpStatus.OK) @ApiOperation(value = "", notes = "${swagger.user-group.groups.api.getUserGroups}")