From eceb3f5452902b5ed812db1a39e69b9f4462f6f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20Ayd=C4=B1n?= Date: Thu, 24 Sep 2026 22:10:52 +0300 Subject: [PATCH] chore: update OpenAPI schema URL GitHub does not redirect project GitHub Pages URLs after a rename, so pnpm generateTypes 404s until the URL is updated. Related-Task: INTER-2472 --- contributing.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contributing.md b/contributing.md index 1761533..3120cb0 100644 --- a/contributing.md +++ b/contributing.md @@ -22,7 +22,7 @@ Run `pnpm build` for creating a build in `dist` folder. After building, the `dis ### Updating Webhook Types -This project depends on [the Fingerprint Webhook OpenAPI Schema](https://github.com/fingerprintjs/fingerprint-pro-server-api-openapi). Run `pnpm generateTypes` to apply the latest webhook type changes. +This project depends on [the Fingerprint Webhook OpenAPI Schema](https://github.com/fingerprintjs/openapi). Run `pnpm generateTypes` to apply the latest webhook type changes. ### Code style diff --git a/package.json b/package.json index 458a59b..bfbb672 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test:dts": "echo \"No typedefinition\"; exit 0", "test:coverage": "jest --coverage", "docs": "typedoc src/index.ts --out docs", - "generateTypes": "pnpm openapi-typescript https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/schemas/fingerprint-server-api.yaml --output ./src/types/fingerprint/webhook/generatedApiTypes.ts && pnpm prettier --write ./src/types/fingerprint/webhook/generatedApiTypes.ts", + "generateTypes": "pnpm openapi-typescript https://fingerprintjs.github.io/openapi/schemas/fingerprint-server-api.yaml --output ./src/types/fingerprint/webhook/generatedApiTypes.ts && pnpm prettier --write ./src/types/fingerprint/webhook/generatedApiTypes.ts", "test:e2e": "npx playwright test", "test:e2e-local": "set -o allexport && source .env && set +o allexport && pnpm test:e2e" },