Update docs

This commit is contained in:
Braydon 2024-04-06 22:39:40 -04:00
parent 15e8403eef
commit f99ffbf1e6

@ -29,6 +29,13 @@ public final class ServerController {
this.mojangService = mojangService; 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}") @GetMapping("/{platform}/{hostname}")
@ResponseBody @ResponseBody
public ResponseEntity<MinecraftServer> getServer(@PathVariable @NonNull String platform, public ResponseEntity<MinecraftServer> getServer(@PathVariable @NonNull String platform,