mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 10:04:55 +08:00
test(api): 固化 Rust-Go RPC 契约
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
# Rust contract fixtures
|
||||
|
||||
本目录保存 Go `bat-api` 对 Rust `bat.sock` / snapshot JSON 的跨语言
|
||||
contract fixture。JSON 由 Rust 代码路径产出后归一化,只替换本机路径、版本号、
|
||||
时间戳和 release URL token,不改字段名、层级、null 语义或数字类型。
|
||||
|
||||
覆盖范围:
|
||||
|
||||
- `catalog.status` 可用与不可用响应。
|
||||
- `resource.manifest` 第一页分页响应。
|
||||
- 对应 release 的 `official-sync-snapshot.json`。
|
||||
- `launcher_metadata` 与 `game_main_config_bootstrap` 的 Go mirror 解码。
|
||||
|
||||
这些 fixture 只用于 schema / mirror 回归,不代表真实资源版本,也不替代 live
|
||||
daemon socket 或完整发布切换验证。
|
||||
Reference in New Issue
Block a user