@marcoturi/fastify-boilerplate 4.3.2 → 4.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/rest.d.ts +11 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoturi/fastify-boilerplate",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "description": "Auto-generated REST (OpenAPI) and GraphQL client types for fastify-boilerplate",
5
5
  "type": "module",
6
6
  "exports": {
package/rest.d.ts CHANGED
@@ -110,7 +110,7 @@ export interface paths {
110
110
  [name: string]: unknown;
111
111
  };
112
112
  content: {
113
- "application/json": components["schemas"]["def-0"];
113
+ "application/json": components["schemas"]["ApiErrorResponse"];
114
114
  };
115
115
  };
116
116
  /** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
@@ -119,7 +119,7 @@ export interface paths {
119
119
  [name: string]: unknown;
120
120
  };
121
121
  content: {
122
- "application/json": components["schemas"]["def-0"];
122
+ "application/json": components["schemas"]["ApiErrorResponse"];
123
123
  };
124
124
  };
125
125
  };
@@ -183,7 +183,7 @@ export interface paths {
183
183
  [name: string]: unknown;
184
184
  };
185
185
  content: {
186
- "application/json": components["schemas"]["def-0"];
186
+ "application/json": components["schemas"]["ApiErrorResponse"];
187
187
  };
188
188
  };
189
189
  /** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
@@ -192,7 +192,7 @@ export interface paths {
192
192
  [name: string]: unknown;
193
193
  };
194
194
  content: {
195
- "application/json": components["schemas"]["def-0"];
195
+ "application/json": components["schemas"]["ApiErrorResponse"];
196
196
  };
197
197
  };
198
198
  /** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
@@ -201,7 +201,7 @@ export interface paths {
201
201
  [name: string]: unknown;
202
202
  };
203
203
  content: {
204
- "application/json": components["schemas"]["def-0"];
204
+ "application/json": components["schemas"]["ApiErrorResponse"];
205
205
  };
206
206
  };
207
207
  };
@@ -248,7 +248,7 @@ export interface paths {
248
248
  [name: string]: unknown;
249
249
  };
250
250
  content: {
251
- "application/json": components["schemas"]["def-0"];
251
+ "application/json": components["schemas"]["ApiErrorResponse"];
252
252
  };
253
253
  };
254
254
  /** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
@@ -257,7 +257,7 @@ export interface paths {
257
257
  [name: string]: unknown;
258
258
  };
259
259
  content: {
260
- "application/json": components["schemas"]["def-0"];
260
+ "application/json": components["schemas"]["ApiErrorResponse"];
261
261
  };
262
262
  };
263
263
  /** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
@@ -266,7 +266,7 @@ export interface paths {
266
266
  [name: string]: unknown;
267
267
  };
268
268
  content: {
269
- "application/json": components["schemas"]["def-0"];
269
+ "application/json": components["schemas"]["ApiErrorResponse"];
270
270
  };
271
271
  };
272
272
  };
@@ -359,7 +359,7 @@ export interface paths {
359
359
  [name: string]: unknown;
360
360
  };
361
361
  content: {
362
- "application/json": components["schemas"]["def-0"];
362
+ "application/json": components["schemas"]["ApiErrorResponse"];
363
363
  };
364
364
  };
365
365
  /** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
@@ -368,7 +368,7 @@ export interface paths {
368
368
  [name: string]: unknown;
369
369
  };
370
370
  content: {
371
- "application/json": components["schemas"]["def-0"];
371
+ "application/json": components["schemas"]["ApiErrorResponse"];
372
372
  };
373
373
  };
374
374
  };
@@ -385,8 +385,7 @@ export interface paths {
385
385
  export type webhooks = Record<string, never>;
386
386
  export interface components {
387
387
  schemas: {
388
- /** ApiErrorResponse */
389
- "def-0": {
388
+ ApiErrorResponse: {
390
389
  /** @example 400 */
391
390
  statusCode: number;
392
391
  /** @example Validation Error */