contract: ResponseMeta.page 스키마 확장 반영해 studio 계약 재생성
design-package 6a85d81이 ResponseMeta.page를 순수 null 타입에서
[object, null]로 넓혔다(openapi-generator가 순수 null 타입을 다루지
못해 생긴 계약 결함 수정, wire 의미는 그대로 — page는 여전히 항상
null). page의 생성 타입이 `null`에서 `{ [key: string]: unknown } | null`로
넓어졌다 — 의도된 변경이다.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
9244f5c15d
commit
aaaf0ac343
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"packageId": "@tech-log/studio-contract",
|
||||
"version": "3.0.0",
|
||||
"digest": "sha256:8ec2170ccdb27bd7ef29b46d732527987cf69d2c9818f7fe1943cb4d12b0dde4",
|
||||
"sourceRevision": "d170392",
|
||||
"digest": "sha256:e44b9b50e30ccd876ba4a6d6e082b7b14fad602c56619d0eb196c07c756106b0",
|
||||
"sourceRevision": "6a85d81",
|
||||
"operationIds": [
|
||||
"getStudioSession",
|
||||
"getStudioDashboard",
|
||||
|
||||
@@ -386,8 +386,10 @@ export interface components {
|
||||
requestId: string;
|
||||
traceId: string;
|
||||
correlationId?: string | null;
|
||||
/** @description Studio는 body 안 cursor 페이지네이션을 쓰므로 항상 null이다 */
|
||||
page?: null;
|
||||
/** @description Studio는 body 안 cursor 페이지네이션을 쓰므로 항상 null이다. 백엔드 템플릿의 ResponseMeta record가 이 필드를 직렬화한다. */
|
||||
page?: {
|
||||
[key: string]: unknown;
|
||||
} | null;
|
||||
};
|
||||
ApiError: {
|
||||
/** @enum {string} */
|
||||
|
||||
@@ -641,7 +641,7 @@ components:
|
||||
requestId: { type: string, minLength: 1, maxLength: 200 }
|
||||
traceId: { type: string, minLength: 1, maxLength: 200 }
|
||||
correlationId: { type: [string, "null"], maxLength: 200 }
|
||||
page: { type: "null", description: Studio는 body 안 cursor 페이지네이션을 쓰므로 항상 null이다 }
|
||||
page: { type: ["object", "null"], additionalProperties: true, description: "Studio는 body 안 cursor 페이지네이션을 쓰므로 항상 null이다. 백엔드 템플릿의 ResponseMeta record가 이 필드를 직렬화한다." }
|
||||
ApiError:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
|
||||
Reference in New Issue
Block a user