Commit 5d997f3
fix: add newline and carriage return escaping to escapeStringForCodeGen
Escape \n and \r characters to prevent syntax errors in generated
TypeScript when OpenAPI spec values contain newlines (e.g., via
YAML multi-line strings).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 2cc39f0 commit 5d997f3
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
0 commit comments