Merge pull request #1241 from open-metadata/issue1239

Fixes #1239 Events APIs are incorrectly grouped under usage in API do…
This commit is contained in:
Suresh Srinivas 2021-11-17 10:37:45 -08:00 committed by GitHub
commit 65edfd5cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ import java.util.List;
import java.util.Objects; import java.util.Objects;
@Path("/v1/events") @Path("/v1/events")
@Api(value = "Events resource", tags = "Events resource") @Api(value = "Events resource", tags = "events")
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON)
@Collection(name = "events") @Collection(name = "events")
@ -75,7 +75,7 @@ public class EventResource {
@GET @GET
@Valid @Valid
@Operation(summary = "Get change events", tags = "usage", @Operation(summary = "Get change events", tags = "events",
description = "Get a list of change events matching event types, entity type, from a given date", description = "Get a list of change events matching event types, entity type, from a given date",
responses = {@ApiResponse(responseCode = "200", description = "Entity events", responses = {@ApiResponse(responseCode = "200", description = "Entity events",
content = @Content(mediaType = "application/json", content = @Content(mediaType = "application/json",