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,