Skip to content
Snippets Groups Projects

Added test recipes

Merged Katarzyna Szlejter requested to merge add-test-recipes into main
4 files
+ 148
9
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -27,7 +27,7 @@ public class RecipeController {
* throws 404 exception if none found
* @return the list of all recipes
*/
@GetMapping("/")
@GetMapping("")
@ResponseStatus(code = HttpStatus.OK)
public @ResponseBody List<Recipe> getRecipes(){
List<Recipe> recipes = recipeRepo.findAll();
Loading