From f99ffbf1e664839f6674ec8a73f9c3e84c56d226 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Sat, 6 Apr 2024 22:39:40 -0400 Subject: [PATCH] Update docs --- .../java/me/braydon/mc/controller/ServerController.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/me/braydon/mc/controller/ServerController.java b/src/main/java/me/braydon/mc/controller/ServerController.java index f4e64a3..7cf0ab5 100644 --- a/src/main/java/me/braydon/mc/controller/ServerController.java +++ b/src/main/java/me/braydon/mc/controller/ServerController.java @@ -29,6 +29,13 @@ public final class ServerController { this.mojangService = mojangService; } + /** + * Get a Minecraft server by its platform and hostname. + * + * @param platform the platform of the server + * @param hostname the hostname of the server + * @return the server + */ @GetMapping("/{platform}/{hostname}") @ResponseBody public ResponseEntity getServer(@PathVariable @NonNull String platform,