File tree Expand file tree Collapse file tree 3 files changed +17
-16
lines changed Expand file tree Collapse file tree 3 files changed +17
-16
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# swagger-typescript-api
22
3+ ## 13.2.14
4+
5+ ### Patch Changes
6+
7+ - [ #1398 ] ( https://github.com/acacode/swagger-typescript-api/pull/1398 ) [ ` d987aee ` ] ( https://github.com/acacode/swagger-typescript-api/commit/d987aee6a2f7dbf6edba73b58a2df2fceb32a876 ) Thanks [ @k1rd3rf ] ( https://github.com/k1rd3rf ) ! - Fix modular template to always generate class property syntax.
8+
9+ The modular template was incorrectly using object method syntax (` : ` and
10+ ` , ` ) when route.namespace was present, introduced by PR #1326 . This
11+ caused TypeScript syntax errors in generated code.
12+
13+ The modular template should always generate class properties with arrow
14+ functions (` = ` and ` ; ` ), regardless of namespace presence.
15+
16+ This resolves the issue reported in #1366 where version 13.2.8 generated
17+ invalid TypeScript code with modular templates.
18+
319## 13.2.13
420
521### Patch Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " swagger-typescript-api" ,
3- "version" : " 13.2.13 " ,
3+ "version" : " 13.2.14 " ,
44 "description" : " Generate the API client for Fetch or Axios from an OpenAPI Specification" ,
55 "homepage" : " https://github.com/acacode/swagger-typescript-api" ,
66 "bugs" : " https://github.com/acacode/swagger-typescript-api/issues" ,
You can’t perform that action at this time.
0 commit comments