From 3876496e7553fa0455696aa8a6d5fe7cb08d3648 Mon Sep 17 00:00:00 2001 From: Manuel Rafeli Date: Fri, 13 Sep 2024 10:57:39 +0200 Subject: [PATCH] [SELC-5572] feat: add tag support-pnpg to getUserInfoUsingGET (#186) --- apps/user-ms/src/main/docs/openapi.json | 2 +- apps/user-ms/src/main/docs/openapi.yaml | 1 + .../java/it/pagopa/selfcare/user/controller/UserController.java | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/user-ms/src/main/docs/openapi.json b/apps/user-ms/src/main/docs/openapi.json index b170f779..ec5aed13 100644 --- a/apps/user-ms/src/main/docs/openapi.json +++ b/apps/user-ms/src/main/docs/openapi.json @@ -670,7 +670,7 @@ }, "/users/{id}" : { "get" : { - "tags" : [ "User", "external-v2", "support" ], + "tags" : [ "User", "external-v2", "support", "support-pnpg" ], "summary" : "Retrieves user given userId and optional ProductId", "operationId" : "getUserInfoUsingGET", "parameters" : [ { diff --git a/apps/user-ms/src/main/docs/openapi.yaml b/apps/user-ms/src/main/docs/openapi.yaml index 4c9ef1c5..20771c6f 100644 --- a/apps/user-ms/src/main/docs/openapi.yaml +++ b/apps/user-ms/src/main/docs/openapi.yaml @@ -464,6 +464,7 @@ paths: - User - external-v2 - support + - support-pnpg summary: Retrieves user given userId and optional ProductId operationId: getUserInfoUsingGET parameters: diff --git a/apps/user-ms/src/main/java/it/pagopa/selfcare/user/controller/UserController.java b/apps/user-ms/src/main/java/it/pagopa/selfcare/user/controller/UserController.java index fc181001..21acdbd1 100644 --- a/apps/user-ms/src/main/java/it/pagopa/selfcare/user/controller/UserController.java +++ b/apps/user-ms/src/main/java/it/pagopa/selfcare/user/controller/UserController.java @@ -87,6 +87,7 @@ public Uni> getUsersEmailByInstitutionAndProduct(@NotNull @QueryPar @Tag(name = "User") @Tag(name = "external-v2") @Tag(name = "support") + @Tag(name = "support-pnpg") public Uni getUserInfo(@PathParam(value = "id") String userId, @QueryParam(value = "institutionId") String institutionId, @QueryParam(value = "productId") String productId) {