Skip to content

Commit

Permalink
🦩 formatting 🦩
Browse files Browse the repository at this point in the history
  • Loading branch information
eformat committed Nov 14, 2021
1 parent 7ed4040 commit a500577
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/app/petbattle/CatResource.java
Expand Up @@ -104,7 +104,7 @@ public Uni<List<Cat>> topcats() {
/**
* Find cat by id
*
* @param id
* @param id
* @return
*/
@GET
Expand All @@ -117,15 +117,15 @@ public Uni<Cat> get(@PathParam("id") String id) {
/**
* Create or Update a Cat
*
* @param cat
* @param cat
* @return
*/
@POST
@Blocking
@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();
Expand All @@ -140,7 +140,7 @@ public Response create(Cat cat) {
/**
* Delete a cat by id
*
* @param id
* @param id
* @return
*/
@DELETE
Expand Down Expand Up @@ -177,10 +177,10 @@ public Uni<Long> 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
Expand Down

0 comments on commit a500577

Please sign in to comment.