Commit fe72ce6d authored by femiadeyemi's avatar femiadeyemi
Browse files

minor fixes

parent 091121b7
Pipeline #79245 passed with stages
in 8 minutes and 13 seconds
......@@ -66,7 +66,7 @@ public class ImageController
@GetMapping(path = "")
public Iterable<Image> getImages(
@Parameter(description = "specify the name of the image to search for")
@RequestParam(value = "name") String name,
@RequestParam(value = "name", defaultValue = "") String name,
@Parameter(description = "specify the page number")
@RequestParam(value = "page", defaultValue = "0") @Min(0) Integer page,
@Parameter(description = "limit the number of records returned in one page")
......
......@@ -5,7 +5,6 @@ import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.lang.Nullable;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment