Commit 9176ef3
fix: complete getMethodsFromService for TS 5.9 and hey-api 0.90.1
- Use Identifier.text instead of getText() for robust HTTP method name extraction
- Fix JSDoc extraction by searching from VariableStatement level instead of ArrowFunction
- Update tests/utils.ts to use hey-api 0.90.1 plugins API
- Update test snapshots to include correctly extracted JSDoc comments
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 65047fa commit 9176ef3
File tree
4 files changed
+230
-6
lines changed- src
- tests
- __snapshots__
4 files changed
+230
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments