Skip to content

Commit 0850e31

Browse files
committed
fix: add OpenAPI spec fixture for CI
The OpenAPI validation tests were failing in CI because the spec file was in the tmp/ directory which is gitignored. Changes: - Moved cloud_openapi.json to crates/redis-cloud/tests/fixtures/ - Updated include_str! path in openapi_validation.rs - Updated CLAUDE.md to reflect correct spec location This ensures the OpenAPI validation tests work both locally and in CI.
1 parent da57420 commit 0850e31

File tree

3 files changed

+15888
-2
lines changed

3 files changed

+15888
-2
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ cargo test --package redis-cloud --test openapi_validation
485485
```
486486
487487
### OpenAPI Spec Location
488-
- **Local Copy**: `tmp/cloud_openapi.json`
488+
- **Local Copy**: `crates/redis-cloud/tests/fixtures/cloud_openapi.json`
489489
- **Official Source**: https://redis.io/docs/latest/operate/rc/api/api-reference/openapi.json
490490
491491
### API Documentation Pattern

0 commit comments

Comments
 (0)