Commit 6b08a4c
fix: inline ErrorDetail in ErrorResponse to fix Spectral ref resolution
Spectral resolves nested $ref paths relative to the referencing file
rather than the referenced file, causing ENOENT when response files
reference ErrorResponse.yaml which then $refs ErrorDetail.yaml.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c8bd087 commit 6b08a4c
1 file changed
Lines changed: 8 additions & 1 deletion
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments