diff options
Diffstat (limited to 'src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java')
-rw-r--r-- | src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java b/src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java index 6589c0d..28bdb00 100644 --- a/src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java +++ b/src/main/java/org/onap/dmaap/dbcapi/resources/FeedResource.java @@ -27,7 +27,6 @@ import io.swagger.annotations.ApiResponses; import java.util.List; -import javax.jws.WebParam; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; @@ -90,7 +89,7 @@ public class FeedResource extends BaseLoggingClass { @ApiResponse( code = 400, message = "Error", response = ApiError.class ) }) public Response addFeed( - @WebParam(name = "feed") Feed feed, + Feed feed, @QueryParam("useExisting") String useExisting) { ApiError apiError = new ApiError(); @@ -146,7 +145,7 @@ public class FeedResource extends BaseLoggingClass { @Path("/{id}") public Response updateFeed( @PathParam("id") String id, - @WebParam(name = "feed") Feed feed) { + Feed feed) { FeedService feedService = new FeedService(); ApiError apiError = new ApiError(); |