Skip to content
This repository was archived by the owner on Dec 23, 2017. It is now read-only.

Commit b453d65

Browse files
committed
Adjust REST API description to make it work in API browser
1 parent e876ac7 commit b453d65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/graylog/plugins/usagestatistics/UsageStatsOptOutResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import static org.graylog2.shared.security.RestPermissions.CLUSTER_CONFIG_ENTRY_READ;
4040

4141
@RequiresAuthentication
42-
@Api(value = "Usage Statistics Opt-Out", description = "Anonymous usage statistics opt-out state of this Graylog setup")
42+
@Api(value = "UsageStatistics/Opt-Out", description = "Anonymous usage statistics opt-out state of this Graylog setup")
4343
@Path("/opt-out")
4444
public class UsageStatsOptOutResource extends RestResource implements PluginRestResource {
4545
private static final String CLUSTER_CONFIG_INSTANCE = UsageStatsOptOutState.class.getCanonicalName();

src/main/java/org/graylog/plugins/usagestatistics/UsageStatsResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import javax.ws.rs.core.MediaType;
3434

3535
@RequiresAuthentication
36-
@Api(value = "Usage Statistics", description = "Anonymous usage statistics of this Graylog setup")
36+
@Api(value = "UsageStatistics", description = "Anonymous usage statistics of this Graylog setup")
3737
@Path("/")
3838
public class UsageStatsResource extends RestResource implements PluginRestResource {
3939
private final UsageStatsNodeService usageStatsNodeService;

0 commit comments

Comments
 (0)