Commit 5de9f72
fix: use PascalCase schema names and add comparison tests
- Change getSchemaName to use PascalCase (ProgressTokenSchema) to match
existing types.ts convention
- Add test/generated/spec.schemas.compare.test.ts with 79 tests verifying
generated schemas match manual types.ts schemas
- Document known limitation: ts-to-zod generates `z.any()` for `typeof`
expressions (e.g., JSONRPC_VERSION), while manual schemas use literals
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c5d28e9 commit 5de9f72
File tree
4 files changed
+1231
-1695
lines changed- scripts
- src/generated
- test/generated
4 files changed
+1231
-1695
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments