From ff992158d9b72c20939f3b7d92344ea289723d7e Mon Sep 17 00:00:00 2001 From: joshua bauer Date: Fri, 30 Nov 2018 10:19:29 -0800 Subject: [PATCH] Cleanup imports. --- .../sinistral/proteus/server/handlers/HandlerGenerator.java | 3 +-- .../java/io/sinistral/proteus/test/controllers/Tests.java | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java b/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java index 132b11c..651fb20 100644 --- a/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java +++ b/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java @@ -12,7 +12,6 @@ import java.net.URL; import java.util.ArrayList; import java.util.Arrays; -import java.util.Collection; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; @@ -56,7 +55,7 @@ import io.sinistral.proteus.server.Extractors; import io.sinistral.proteus.server.ServerRequest; import io.sinistral.proteus.server.ServerResponse; -import io.sinistral.proteus.server.endpoints.EndpointInfo; +import io.sinistral.proteus.server.endpoints.EndpointInfo; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.security.SecurityRequirement; import io.swagger.v3.oas.annotations.tags.Tags; diff --git a/src/test/java/io/sinistral/proteus/test/controllers/Tests.java b/src/test/java/io/sinistral/proteus/test/controllers/Tests.java index 26963be..1ee1ef3 100644 --- a/src/test/java/io/sinistral/proteus/test/controllers/Tests.java +++ b/src/test/java/io/sinistral/proteus/test/controllers/Tests.java @@ -37,8 +37,6 @@ import io.sinistral.proteus.server.ServerRequest; import io.sinistral.proteus.server.ServerResponse; import io.sinistral.proteus.test.models.User; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; @@ -49,7 +47,7 @@ * @author jbauer * */ -@Api(tags="tests") + @Tags({@Tag(name = "tests")}) @Path("/tests") @Produces((MediaType.APPLICATION_JSON))