Skip to content

Commit 586441e

Browse files
committed
docs: update openapi.json
1 parent 0f6e728 commit 586441e

File tree

5 files changed

+1744
-254
lines changed

5 files changed

+1744
-254
lines changed

packages/client-sdk/src/open/client/core/OpenAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const OpenAPI: OpenAPIConfig = {
4747
PASSWORD: undefined,
4848
TOKEN: undefined,
4949
USERNAME: undefined,
50-
VERSION: '1.22.0',
50+
VERSION: '1.30.2',
5151
WITH_CREDENTIALS: false,
5252
interceptors: {
5353
request: new Interceptors(),
Lines changed: 85 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

33
export const $error_BAD_REQUEST = {
4+
title: 'Invalid input data error (400)',
5+
description: 'The error information',
6+
example: {
7+
code: 'BAD_REQUEST',
8+
message: 'Invalid input data',
9+
issues: []
10+
},
411
type: 'object',
512
properties: {
613
message: {
7-
type: 'string',
814
description: 'The error message',
9-
example: 'Invalid input data'
15+
example: 'Invalid input data',
16+
type: 'string'
1017
},
1118
code: {
12-
type: 'string',
1319
description: 'The error code',
14-
example: 'BAD_REQUEST'
20+
example: 'BAD_REQUEST',
21+
type: 'string'
1522
},
1623
issues: {
24+
description: 'An array of issues that were responsible for the error',
25+
example: [],
1726
type: 'array',
1827
items: {
1928
type: 'object',
@@ -22,36 +31,38 @@ export const $error_BAD_REQUEST = {
2231
type: 'string'
2332
}
2433
},
25-
required: ['message']
26-
},
27-
description: 'An array of issues that were responsible for the error',
28-
example: []
34+
required: ['message'],
35+
additionalProperties: false
36+
}
2937
}
3038
},
3139
required: ['message', 'code'],
32-
title: 'Invalid input data error (400)',
33-
description: 'The error information',
34-
example: {
35-
code: 'BAD_REQUEST',
36-
message: 'Invalid input data',
37-
issues: []
38-
}
40+
additionalProperties: false
3941
} as const;
4042

4143
export const $error_UNAUTHORIZED = {
44+
title: 'Authorization not provided error (401)',
45+
description: 'The error information',
46+
example: {
47+
code: 'UNAUTHORIZED',
48+
message: 'Authorization not provided',
49+
issues: []
50+
},
4251
type: 'object',
4352
properties: {
4453
message: {
45-
type: 'string',
4654
description: 'The error message',
47-
example: 'Authorization not provided'
55+
example: 'Authorization not provided',
56+
type: 'string'
4857
},
4958
code: {
50-
type: 'string',
5159
description: 'The error code',
52-
example: 'UNAUTHORIZED'
60+
example: 'UNAUTHORIZED',
61+
type: 'string'
5362
},
5463
issues: {
64+
description: 'An array of issues that were responsible for the error',
65+
example: [],
5566
type: 'array',
5667
items: {
5768
type: 'object',
@@ -60,36 +71,38 @@ export const $error_UNAUTHORIZED = {
6071
type: 'string'
6172
}
6273
},
63-
required: ['message']
64-
},
65-
description: 'An array of issues that were responsible for the error',
66-
example: []
74+
required: ['message'],
75+
additionalProperties: false
76+
}
6777
}
6878
},
6979
required: ['message', 'code'],
70-
title: 'Authorization not provided error (401)',
71-
description: 'The error information',
72-
example: {
73-
code: 'UNAUTHORIZED',
74-
message: 'Authorization not provided',
75-
issues: []
76-
}
80+
additionalProperties: false
7781
} as const;
7882

7983
export const $error_FORBIDDEN = {
84+
title: 'Insufficient access error (403)',
85+
description: 'The error information',
86+
example: {
87+
code: 'FORBIDDEN',
88+
message: 'Insufficient access',
89+
issues: []
90+
},
8091
type: 'object',
8192
properties: {
8293
message: {
83-
type: 'string',
8494
description: 'The error message',
85-
example: 'Insufficient access'
95+
example: 'Insufficient access',
96+
type: 'string'
8697
},
8798
code: {
88-
type: 'string',
8999
description: 'The error code',
90-
example: 'FORBIDDEN'
100+
example: 'FORBIDDEN',
101+
type: 'string'
91102
},
92103
issues: {
104+
description: 'An array of issues that were responsible for the error',
105+
example: [],
93106
type: 'array',
94107
items: {
95108
type: 'object',
@@ -98,36 +111,38 @@ export const $error_FORBIDDEN = {
98111
type: 'string'
99112
}
100113
},
101-
required: ['message']
102-
},
103-
description: 'An array of issues that were responsible for the error',
104-
example: []
114+
required: ['message'],
115+
additionalProperties: false
116+
}
105117
}
106118
},
107119
required: ['message', 'code'],
108-
title: 'Insufficient access error (403)',
109-
description: 'The error information',
110-
example: {
111-
code: 'FORBIDDEN',
112-
message: 'Insufficient access',
113-
issues: []
114-
}
120+
additionalProperties: false
115121
} as const;
116122

117123
export const $error_INTERNAL_SERVER_ERROR = {
124+
title: 'Internal server error error (500)',
125+
description: 'The error information',
126+
example: {
127+
code: 'INTERNAL_SERVER_ERROR',
128+
message: 'Internal server error',
129+
issues: []
130+
},
118131
type: 'object',
119132
properties: {
120133
message: {
121-
type: 'string',
122134
description: 'The error message',
123-
example: 'Internal server error'
135+
example: 'Internal server error',
136+
type: 'string'
124137
},
125138
code: {
126-
type: 'string',
127139
description: 'The error code',
128-
example: 'INTERNAL_SERVER_ERROR'
140+
example: 'INTERNAL_SERVER_ERROR',
141+
type: 'string'
129142
},
130143
issues: {
144+
description: 'An array of issues that were responsible for the error',
145+
example: [],
131146
type: 'array',
132147
items: {
133148
type: 'object',
@@ -136,36 +151,38 @@ export const $error_INTERNAL_SERVER_ERROR = {
136151
type: 'string'
137152
}
138153
},
139-
required: ['message']
140-
},
141-
description: 'An array of issues that were responsible for the error',
142-
example: []
154+
required: ['message'],
155+
additionalProperties: false
156+
}
143157
}
144158
},
145159
required: ['message', 'code'],
146-
title: 'Internal server error error (500)',
147-
description: 'The error information',
148-
example: {
149-
code: 'INTERNAL_SERVER_ERROR',
150-
message: 'Internal server error',
151-
issues: []
152-
}
160+
additionalProperties: false
153161
} as const;
154162

155163
export const $error_NOT_FOUND = {
164+
title: 'Not found error (404)',
165+
description: 'The error information',
166+
example: {
167+
code: 'NOT_FOUND',
168+
message: 'Not found',
169+
issues: []
170+
},
156171
type: 'object',
157172
properties: {
158173
message: {
159-
type: 'string',
160174
description: 'The error message',
161-
example: 'Not found'
175+
example: 'Not found',
176+
type: 'string'
162177
},
163178
code: {
164-
type: 'string',
165179
description: 'The error code',
166-
example: 'NOT_FOUND'
180+
example: 'NOT_FOUND',
181+
type: 'string'
167182
},
168183
issues: {
184+
description: 'An array of issues that were responsible for the error',
185+
example: [],
169186
type: 'array',
170187
items: {
171188
type: 'object',
@@ -174,18 +191,11 @@ export const $error_NOT_FOUND = {
174191
type: 'string'
175192
}
176193
},
177-
required: ['message']
178-
},
179-
description: 'An array of issues that were responsible for the error',
180-
example: []
194+
required: ['message'],
195+
additionalProperties: false
196+
}
181197
}
182198
},
183199
required: ['message', 'code'],
184-
title: 'Not found error (404)',
185-
description: 'The error information',
186-
example: {
187-
code: 'NOT_FOUND',
188-
message: 'Not found',
189-
issues: []
190-
}
200+
additionalProperties: false
191201
} as const;

0 commit comments

Comments
 (0)