@taico/client 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,6 +20,40 @@ export interface paths {
|
|
|
20
20
|
patch?: never;
|
|
21
21
|
trace?: never;
|
|
22
22
|
};
|
|
23
|
+
"/health/live": {
|
|
24
|
+
parameters: {
|
|
25
|
+
query?: never;
|
|
26
|
+
header?: never;
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
/** Liveness check endpoint */
|
|
31
|
+
get: operations["AppController_getLive"];
|
|
32
|
+
put?: never;
|
|
33
|
+
post?: never;
|
|
34
|
+
delete?: never;
|
|
35
|
+
options?: never;
|
|
36
|
+
head?: never;
|
|
37
|
+
patch?: never;
|
|
38
|
+
trace?: never;
|
|
39
|
+
};
|
|
40
|
+
"/health/ready": {
|
|
41
|
+
parameters: {
|
|
42
|
+
query?: never;
|
|
43
|
+
header?: never;
|
|
44
|
+
path?: never;
|
|
45
|
+
cookie?: never;
|
|
46
|
+
};
|
|
47
|
+
/** Readiness check endpoint */
|
|
48
|
+
get: operations["AppController_getReady"];
|
|
49
|
+
put?: never;
|
|
50
|
+
post?: never;
|
|
51
|
+
delete?: never;
|
|
52
|
+
options?: never;
|
|
53
|
+
head?: never;
|
|
54
|
+
patch?: never;
|
|
55
|
+
trace?: never;
|
|
56
|
+
};
|
|
23
57
|
"/api/v1/meta/tags": {
|
|
24
58
|
parameters: {
|
|
25
59
|
query?: never;
|
|
@@ -6214,6 +6248,59 @@ export interface operations {
|
|
|
6214
6248
|
};
|
|
6215
6249
|
};
|
|
6216
6250
|
};
|
|
6251
|
+
AppController_getLive: {
|
|
6252
|
+
parameters: {
|
|
6253
|
+
query?: never;
|
|
6254
|
+
header?: never;
|
|
6255
|
+
path?: never;
|
|
6256
|
+
cookie?: never;
|
|
6257
|
+
};
|
|
6258
|
+
requestBody?: never;
|
|
6259
|
+
responses: {
|
|
6260
|
+
/** @description The process is alive */
|
|
6261
|
+
200: {
|
|
6262
|
+
headers: {
|
|
6263
|
+
[name: string]: unknown;
|
|
6264
|
+
};
|
|
6265
|
+
content: {
|
|
6266
|
+
"application/json": {
|
|
6267
|
+
/** @example ok */
|
|
6268
|
+
status: string;
|
|
6269
|
+
};
|
|
6270
|
+
};
|
|
6271
|
+
};
|
|
6272
|
+
};
|
|
6273
|
+
};
|
|
6274
|
+
AppController_getReady: {
|
|
6275
|
+
parameters: {
|
|
6276
|
+
query?: never;
|
|
6277
|
+
header?: never;
|
|
6278
|
+
path?: never;
|
|
6279
|
+
cookie?: never;
|
|
6280
|
+
};
|
|
6281
|
+
requestBody?: never;
|
|
6282
|
+
responses: {
|
|
6283
|
+
/** @description The server is ready to accept traffic */
|
|
6284
|
+
200: {
|
|
6285
|
+
headers: {
|
|
6286
|
+
[name: string]: unknown;
|
|
6287
|
+
};
|
|
6288
|
+
content: {
|
|
6289
|
+
"application/json": {
|
|
6290
|
+
/** @example ready */
|
|
6291
|
+
status: string;
|
|
6292
|
+
};
|
|
6293
|
+
};
|
|
6294
|
+
};
|
|
6295
|
+
/** @description Shutdown has started and the server is not ready */
|
|
6296
|
+
503: {
|
|
6297
|
+
headers: {
|
|
6298
|
+
[name: string]: unknown;
|
|
6299
|
+
};
|
|
6300
|
+
content?: never;
|
|
6301
|
+
};
|
|
6302
|
+
};
|
|
6303
|
+
};
|
|
6217
6304
|
MetaController_getAllTags: {
|
|
6218
6305
|
parameters: {
|
|
6219
6306
|
query?: never;
|
|
@@ -7,4 +7,20 @@ export declare class AppService {
|
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
9
|
static appControllerGetHello(config?: OpenAPIConfig): CancelablePromise<string>;
|
|
10
|
+
/**
|
|
11
|
+
* Liveness check endpoint
|
|
12
|
+
* @returns any The process is alive
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static appControllerGetLive(config?: OpenAPIConfig): CancelablePromise<{
|
|
16
|
+
status: string;
|
|
17
|
+
}>;
|
|
18
|
+
/**
|
|
19
|
+
* Readiness check endpoint
|
|
20
|
+
* @returns any The server is ready to accept traffic
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static appControllerGetReady(config?: OpenAPIConfig): CancelablePromise<{
|
|
24
|
+
status: string;
|
|
25
|
+
}>;
|
|
10
26
|
}
|
|
@@ -12,4 +12,29 @@ export class AppService {
|
|
|
12
12
|
url: '/api/v1',
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Liveness check endpoint
|
|
17
|
+
* @returns any The process is alive
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static appControllerGetLive(config = OpenAPI) {
|
|
21
|
+
return __request(config, {
|
|
22
|
+
method: 'GET',
|
|
23
|
+
url: '/health/live',
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Readiness check endpoint
|
|
28
|
+
* @returns any The server is ready to accept traffic
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static appControllerGetReady(config = OpenAPI) {
|
|
32
|
+
return __request(config, {
|
|
33
|
+
method: 'GET',
|
|
34
|
+
url: '/health/ready',
|
|
35
|
+
errors: {
|
|
36
|
+
503: `Shutdown has started and the server is not ready`,
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
}
|
|
15
40
|
}
|
|
@@ -5,4 +5,16 @@ export declare class AppResource extends BaseClient {
|
|
|
5
5
|
AppController_getHello(params?: {
|
|
6
6
|
signal?: AbortSignal;
|
|
7
7
|
}): Promise<string>;
|
|
8
|
+
/** Liveness check endpoint */
|
|
9
|
+
AppController_getLive(params?: {
|
|
10
|
+
signal?: AbortSignal;
|
|
11
|
+
}): Promise<{
|
|
12
|
+
status: string;
|
|
13
|
+
}>;
|
|
14
|
+
/** Readiness check endpoint */
|
|
15
|
+
AppController_getReady(params?: {
|
|
16
|
+
signal?: AbortSignal;
|
|
17
|
+
}): Promise<{
|
|
18
|
+
status: string;
|
|
19
|
+
}>;
|
|
8
20
|
}
|
|
@@ -7,4 +7,12 @@ export class AppResource extends BaseClient {
|
|
|
7
7
|
async AppController_getHello(params) {
|
|
8
8
|
return this.request('GET', '/api/v1', { signal: params?.signal });
|
|
9
9
|
}
|
|
10
|
+
/** Liveness check endpoint */
|
|
11
|
+
async AppController_getLive(params) {
|
|
12
|
+
return this.request('GET', '/health/live', { signal: params?.signal });
|
|
13
|
+
}
|
|
14
|
+
/** Readiness check endpoint */
|
|
15
|
+
async AppController_getReady(params) {
|
|
16
|
+
return this.request('GET', '/health/ready', { signal: params?.signal });
|
|
17
|
+
}
|
|
10
18
|
}
|