Remove duplicated notification endpoints in openapi (#1677)

Remove duplicated notification endpoints in openapi
This commit is contained in:
Florian Scholdei
2021-06-01 13:56:48 +02:00
committed by GitHub
parent 9b7da23a20
commit 9a2ff75f9b
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
- type: fixed
description: Remove duplicated notification endpoints in openapi ([#1677](https://github.com/scm-manager/scm-manager/pull/1677))

View File

@@ -63,7 +63,9 @@ import java.util.stream.Collectors;
@OpenAPIDefinition(tags = {
@Tag(name = "Notifications", description = "Notification related endpoints")
})
@Path(NotificationResource.NOTIFICATION_PATH_V2)
public class NotificationResource {
static final String NOTIFICATION_PATH_V2 = "v2/me/notifications/";
private final NotificationStore store;
private final ChannelRegistry channelRegistry;