Add fixture generation instructions to README

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-01-17 00:38:15 +00:00
parent 06c568ad69
commit 494e211844

View File

@@ -49,3 +49,10 @@ WeatherKit requires Apple Developer credentials. Generate a private key in the A
## Validation ## Validation
API responses are validated using [arktype](https://arktype.io) schemas. API responses are validated using [arktype](https://arktype.io) schemas.
## Generating Test Fixtures
To regenerate fixture data from the real API:
1. Create a `.env` file with your credentials (see `.env.example`)
2. Run `bun run scripts/generate-fixtures.ts`