Add new entities

This commit is contained in:
mirrerror
2023-09-21 11:33:44 +03:00
parent ccea0d393c
commit 0918a51f7a
9 changed files with 180 additions and 9 deletions

View File

@@ -13,9 +13,9 @@ public class MainController {
return "Hello, World!";
}
@GetMapping("/users/{id}")
@GetMapping("/users/get/{id}")
public User getUser(@PathVariable int id) {
return new User(id, "Test");
return new User(id, "Test", null, null, null, null, null, null);
}
}