Skip to content

Commit

Permalink
[SELC-5092] chore: add support-pnpg tag to getInstitutionUsers and ge…
Browse files Browse the repository at this point in the history
…tUserGroups (#156)
  • Loading branch information
giulia-tremolada authored Jun 13, 2024
1 parent 4eb5a9b commit fa38c29
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/user-group-ms/app/src/main/docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@
},
"/v1/user-groups" : {
"get" : {
"tags" : [ "UserGroup", "external-v2", "support" ],
"tags" : [ "UserGroup", "external-v2", "support", "support-pnpg" ],
"summary" : "getUserGroups",
"description" : "Service that allows to get a list of UserGroup entities",
"operationId" : "getUserGroupsUsingGET_1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.tags.Tags;
import it.pagopa.selfcare.commons.web.model.Page;
import it.pagopa.selfcare.commons.web.model.Problem;
import it.pagopa.selfcare.commons.web.model.mapper.PageMapper;
Expand Down Expand Up @@ -169,6 +168,7 @@ public UserGroupResource getUserGroup(@ApiParam("${swagger.user-group.model.id}"
@Tag(name = "support")
@Tag(name = "external-v2")
@Tag(name = "UserGroup")
@Tag(name = "support-pnpg")
@GetMapping()
@ResponseStatus(HttpStatus.OK)
@ApiOperation(value = "", notes = "${swagger.user-group.groups.api.getUserGroups}")
Expand Down
4 changes: 3 additions & 1 deletion apps/user-ms/src/main/docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"name" : "external-v2"
}, {
"name" : "support"
}, {
"name" : "support-pnpg"
} ],
"paths" : {
"/authorize" : {
Expand Down Expand Up @@ -245,7 +247,7 @@
},
"/institutions/{institutionId}/users" : {
"get" : {
"tags" : [ "support", "Institution" ],
"tags" : [ "support", "support-pnpg", "Institution" ],
"summary" : "The API retrieves user's info including details of roles on products",
"parameters" : [ {
"name" : "institutionId",
Expand Down
2 changes: 2 additions & 0 deletions apps/user-ms/src/main/docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ tags:
- name: User
- name: external-v2
- name: support
- name: support-pnpg
paths:
/authorize:
get:
Expand Down Expand Up @@ -171,6 +172,7 @@ paths:
get:
tags:
- support
- support-pnpg
- Institution
summary: The API retrieves user's info including details of roles on products
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class InstitutionController {
@GET
@Path(value = "/{institutionId}/users")
@Tag(name = "support")
@Tag(name = "support-pnpg")
@Tag(name = "Institution")
@Produces(MediaType.APPLICATION_JSON)
public Multi<UserProductResponse> getInstitutionUsers(@PathParam(value = "institutionId") String institutionId) {
Expand Down

0 comments on commit fa38c29

Please sign in to comment.