Skip to content

Schema generator for Zod and Faker plugin #146

Schema generator for Zod and Faker plugin

Schema generator for Zod and Faker plugin #146

Triggered via pull request March 24, 2024 21:55
Status Failure
Total duration 4m 29s
Artifacts

quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 warnings
packages/swagger-ts/src/OperationGenerator.test.tsx > OperationGenerator > [POST] /pets 201: packages/swagger-ts/src/OperationGenerator.test.tsx#L85
Error: Snapshot `OperationGenerator > [POST] /pets 201 1` mismatched - Expected + Received @@ -2,14 +2,19 @@ import type { ErrorCode } from "./ErrorCode"; /** * @description Null response */ - export type CreatePetsMutationResponse = (Error & { + export type CreatePets201 = (Error & { name?: ErrorCode; }); + /** + * @description unexpected error + */ + export type CreatePetsError = Error; + export type CreatePetsMutationRequest = { /** * @type string */ name: string; @@ -20,11 +25,11 @@ }; /** * @description Null response */ - export type CreatePets201 = (Error & { + export type CreatePetsMutationResponse = (Error & { name?: ErrorCode; }); export type CreatePetsMutation = { Response: CreatePetsMutationResponse; ❯ packages/swagger-ts/src/OperationGenerator.test.tsx:85:43 ❯ packages/swagger-ts/src/OperationGenerator.test.tsx:84:11
Tests
Process completed with exit code 1.
Linting
Process completed with exit code 134.
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.