From 06db9c3630e414e5f1d561219a7d50c76f081da1 Mon Sep 17 00:00:00 2001 From: Vicente Vigueras Date: Mon, 8 Apr 2024 16:23:49 +0000 Subject: [PATCH] chore: PatronsController outline --- .../lesson16/web/PatronsController.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lesson_16/api/api_app/src/main/java/com/codedifferently/lesson16/web/PatronsController.java b/lesson_16/api/api_app/src/main/java/com/codedifferently/lesson16/web/PatronsController.java index 921bc862..4e9d5db4 100644 --- a/lesson_16/api/api_app/src/main/java/com/codedifferently/lesson16/web/PatronsController.java +++ b/lesson_16/api/api_app/src/main/java/com/codedifferently/lesson16/web/PatronsController.java @@ -1,6 +1,17 @@ package com.codedifferently.lesson16.web; +import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController -public class PatronsController {} +@RequestMapping("/patrons") +public class PatronsController { + // TODO + // Implement Test Cases + + // @GetMapping + // @PostMapping + // @GetMapping("/{id}") + // @DeleteMapping("/{id}") + +}