Refactor API response descriptors to use resource classes
Build Plugin / build (push) Has been cancelled
Build Plugin / release (push) Has been cancelled

- Updated response descriptors in various endpoints to utilize specific resource classes instead of generic JsonResponse.
- Changed response types for friendship, guild, party, and support issue endpoints to their respective resource classes.
- Incremented version number in manifest.json to 0.5.3 for the new changes.
This commit is contained in:
2026-06-05 09:23:01 -07:00
parent 59330bdf84
commit be35d92b52
57 changed files with 342 additions and 62 deletions
+5 -16
View File
@@ -47,21 +47,14 @@ javadoc {
// Adds the Hytale server as a build dependency, allowing you to reference and
// compile against their code without bundling it. When a local install is
// present we compile and run against that jar directly so there is no dependency
// on the Hytale Maven repositories. In CI (no local install) the Maven artifact
// is used together with an explicit Gson dep (bundled in the server at runtime).
// present, we still use its jar for launching the server in IDE run configs.
dependencies {
compileOnly("com.hypixel.hytale:Server:$hytale_build")
if (hasHytaleHome) {
def serverJar = files("$hytaleHome/install/$patchline/package/game/latest/Server/HytaleServer.jar")
compileOnly(serverJar)
runtimeOnly(serverJar)
} else {
compileOnly("com.hypixel.hytale:Server:$hytale_build")
compileOnly("com.google.gson:gson:2.11.0")
runtimeOnly(files("$hytaleHome/install/$patchline/package/game/latest/Server/HytaleServer.jar"))
}
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
testImplementation("com.google.code.gson:gson:2.11.0")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
// Your dependencies here
}
repositories {
@@ -107,10 +100,6 @@ tasks.named('build') {
dependsOn 'shadowJar'
}
tasks.named('test') {
useJUnitPlatform()
}
if (hasHytaleHome) {
// Create the working directory to run the server if it does not already exist.
def serverRunDir = file("$projectDir/run")