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
+13
View File
@@ -17,6 +17,7 @@ These files include:
- middleware metadata
- request field descriptors
- response type descriptors
- typed domain clients and DTOs for generated API resources
## Usage
@@ -44,6 +45,18 @@ String uri = PathBuilder.resolve(
);
```
Use generated domain clients for direct typed calls:
```java
PlayerPermissionSnapshot permissions =
NetworkPlugin.client().players().authorizationPermissionSnapshot(playerId);
AssetPackVersion activePack =
NetworkPlugin.client().assets().getActivePack(packKey);
```
Some generated clients include hand-friendly aliases for route-shaped names. For example, the assets domain exposes `getActivePack(...)` and `getPackVersionFiles(...)` over the generated active-pack and version-files endpoints.
## Regeneration
The source of truth is `../core-control-plane`.