From d2933057b8d3ee6bc5a4b4d877f4d4cfe5b55829 Mon Sep 17 00:00:00 2001 From: Serhii Vydiuk Date: Tue, 15 Oct 2024 21:09:14 +0300 Subject: [PATCH] Deleted unused classes --- .../com/readme/example/OpenApiConfig.java | 2 -- .../com/readme/example/OwlController.java | 19 ------------------- 2 files changed, 21 deletions(-) delete mode 100644 packages/java/examples/example/src/main/java/com/readme/example/OpenApiConfig.java delete mode 100644 packages/java/examples/example/src/main/java/com/readme/example/OwlController.java diff --git a/packages/java/examples/example/src/main/java/com/readme/example/OpenApiConfig.java b/packages/java/examples/example/src/main/java/com/readme/example/OpenApiConfig.java deleted file mode 100644 index a642b7202..000000000 --- a/packages/java/examples/example/src/main/java/com/readme/example/OpenApiConfig.java +++ /dev/null @@ -1,2 +0,0 @@ -package com.readme.example;public class OpenApiConfig { -} diff --git a/packages/java/examples/example/src/main/java/com/readme/example/OwlController.java b/packages/java/examples/example/src/main/java/com/readme/example/OwlController.java deleted file mode 100644 index 227eb66f6..000000000 --- a/packages/java/examples/example/src/main/java/com/readme/example/OwlController.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.readme.example; - -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RestController; - -@RestController -public class UserController { - - @GetMapping("/users/{id}") - public String getUserById(@PathVariable String id) { - return "User with id " + id; - } - - @GetMapping("/users") - public String getAllUsers() { - return "List of users"; - } -} \ No newline at end of file