mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
Remove duplicated notification endpoints in openapi (#1677)
Remove duplicated notification endpoints in openapi
This commit is contained in:
2
gradle/changelog/duplicate_notification_endpoints.yaml
Normal file
2
gradle/changelog/duplicate_notification_endpoints.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
- type: fixed
|
||||
description: Remove duplicated notification endpoints in openapi ([#1677](https://github.com/scm-manager/scm-manager/pull/1677))
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user