diff --git a/src/main/java/me/braydon/mc/controller/ServerController.java b/src/main/java/me/braydon/mc/controller/ServerController.java index bf2ce24..a2c501a 100644 --- a/src/main/java/me/braydon/mc/controller/ServerController.java +++ b/src/main/java/me/braydon/mc/controller/ServerController.java @@ -74,7 +74,7 @@ public final class ServerController { @ResponseBody public ResponseEntity getServer( @Parameter(description = "The platform of the server", example = "java") @PathVariable @NonNull String platform, - @Parameter(description = "The hostname of the server", example = "hypixel.net") @PathVariable @NonNull String hostname + @Parameter(description = "The server hostname to lookup (Append : for port)", example = "hypixel.net") @PathVariable @NonNull String hostname ) throws BadRequestException, ResourceNotFoundException { return ResponseEntity.ofNullable(mojangService.getMinecraftServer(platform, hostname)); } @@ -106,7 +106,7 @@ public final class ServerController { @GetMapping(value = "/icon/{hostname}", produces = MediaType.IMAGE_PNG_VALUE) @ResponseBody public ResponseEntity getServerFavicon( - @Parameter(description = "The hostname of the server", example = "hypixel.net") @PathVariable @NonNull String hostname + @Parameter(description = "The server hostname to lookup (Append : for port)", example = "hypixel.net") @PathVariable @NonNull String hostname ) { return ResponseEntity.ok() .contentType(MediaType.IMAGE_PNG)