- 新增 scripts/fetch-openapi.js:拉取并修复 OpenAPI 文档 - 内联 ResultObject[] 的 \,移除非法 schema 名 - orval 使用本地 openapi.json,api:update 自动执行 api:fetch - AdminStatsController: Result<Object[]> 改为 Result<List<Map<String, Object>>> - .gitignore: 忽略 openapi.json Made-with: Cursor
24 lines
432 B
TypeScript
24 lines
432 B
TypeScript
/**
|
|
* Generated by orval v8.5.3 🍺
|
|
* Do not edit manually.
|
|
* Reading Platform API
|
|
* Reading Platform Backend Service API Documentation
|
|
* OpenAPI spec version: 1.0.0
|
|
*/
|
|
|
|
/**
|
|
* 班级更新请求
|
|
*/
|
|
export interface ClassUpdateRequest {
|
|
/** 班级名称 */
|
|
name?: string;
|
|
/** 年级 */
|
|
grade?: string;
|
|
/** 描述 */
|
|
description?: string;
|
|
/** 容量 */
|
|
capacity?: number;
|
|
/** 状态 */
|
|
status?: string;
|
|
}
|