diff --git a/src/main/java/app/petbattle/CatResource.java b/src/main/java/app/petbattle/CatResource.java index e1ad5d9..c6b9661 100644 --- a/src/main/java/app/petbattle/CatResource.java +++ b/src/main/java/app/petbattle/CatResource.java @@ -104,7 +104,7 @@ public Uni> topcats() { /** * Find cat by id * - * @param id + * @param id * @return */ @GET @@ -117,7 +117,7 @@ public Uni get(@PathParam("id") String id) { /** * Create or Update a Cat * - * @param cat + * @param cat * @return */ @POST @@ -125,7 +125,7 @@ public Uni get(@PathParam("id") String id) { @Operation(operationId = "createOrUpdate", summary = "create or update cat", description = "This operation creates or updates a cat (if id supplied)", deprecated = false, hidden = false) @APIResponses(value = { @APIResponse(responseCode = "400", description = "Bad data", content = @Content(mediaType = "application/json", schema = @Schema(implementation = Response.class))), - @APIResponse(responseCode = "201", description = "cat created or updated OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = Response.class)))}) + @APIResponse(responseCode = "201", description = "cat created or updated OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = Response.class))) }) //@Metered(unit = MetricUnits.PER_SECOND, name = "cats-uploaded", description = "Frequency of cats uploaded") public Response create(Cat cat) { cat.vote(); @@ -140,7 +140,7 @@ public Response create(Cat cat) { /** * Delete a cat by id * - * @param id + * @param id * @return */ @DELETE @@ -177,10 +177,10 @@ public Uni deleteAll() { /** * Generate a datatable used in the default webpage for this app. Handy for viewing all images without the UI * - * @param draw - * @param start - * @param length - * @param searchVal + * @param draw + * @param start + * @param length + * @param searchVal * @return */ @GET