Skip to content

Commit d33c67e

Browse files
fix(openapi): sync with openapi definition (#173)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 27f5e1b commit d33c67e

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

openapi.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,35 @@
167167
}
168168
}
169169
},
170+
"SocketGone": {
171+
"content": {
172+
"application/json": {
173+
"schema": {
174+
"type": "object",
175+
"additionalProperties": false,
176+
"properties": {
177+
"error": {
178+
"type": "object",
179+
"additionalProperties": false,
180+
"properties": {
181+
"message": {
182+
"type": "string",
183+
"default": ""
184+
}
185+
},
186+
"required": [
187+
"message"
188+
]
189+
}
190+
},
191+
"required": [
192+
"error"
193+
]
194+
}
195+
}
196+
},
197+
"description": "Gone"
198+
},
170199
"SocketInternalServerError": {
171200
"content": {
172201
"application/json": {
@@ -5972,6 +6001,9 @@
59726001
"404": {
59736002
"$ref": "#/components/responses/SocketNotFoundResponse"
59746003
},
6004+
"410": {
6005+
"$ref": "#/components/responses/SocketGone"
6006+
},
59756007
"429": {
59766008
"$ref": "#/components/responses/SocketTooManyRequestsResponse"
59776009
}
@@ -7741,6 +7773,10 @@
77417773
"type"
77427774
]
77437775
}
7776+
},
7777+
"batchIndex": {
7778+
"type": "integer",
7779+
"default": 0
77447780
}
77457781
},
77467782
"required": [

types/api.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,6 +1729,17 @@ export interface components {
17291729
};
17301730
};
17311731
};
1732+
/** @description Gone */
1733+
SocketGone: {
1734+
content: {
1735+
"application/json": {
1736+
error: {
1737+
/** @default */
1738+
message: string;
1739+
};
1740+
};
1741+
};
1742+
};
17321743
/** @description Internal server error */
17331744
SocketInternalServerError: {
17341745
content: {
@@ -1971,6 +1982,7 @@ export interface operations {
19711982
401: components["responses"]["SocketUnauthorized"];
19721983
403: components["responses"]["SocketForbidden"];
19731984
404: components["responses"]["SocketNotFoundResponse"];
1985+
410: components["responses"]["SocketGone"];
19741986
429: components["responses"]["SocketTooManyRequestsResponse"];
19751987
};
19761988
};
@@ -2746,6 +2758,8 @@ export interface operations {
27462758
/** @default null */
27472759
props?: Record<string, never>;
27482760
}[];
2761+
/** @default 0 */
2762+
batchIndex?: number;
27492763
};
27502764
};
27512765
};

0 commit comments

Comments
 (0)