Commit 14b6d3d
Release 4.0.0 (#107)
* fix: handling x-omitempty property for definition properties (#68)
* docs: update CHANGELOG
* docs: update CHANGELOG
* Migrate to eta (#88)
* BREAKING CHANGE: migrate from mustache template engine to eta template engine
* fix: merge conflicts after rebasing next
Co-authored-by: Rafael Fakhreev <[email protected]>
Co-authored-by: svolkov <[email protected]>
* chore: update README (Contribution)
* Refactor render layer (#90)
* fix: handling x-omitempty property for definition properties (#68)
* docs: update CHANGELOG
* docs: update CHANGELOG; bump: up project version to 2.0.0
* BREAKING_CHANGE: renamed mustache templates, split client mustache template
* BREAKING CHANGE: migrate from mustache template engine to eta template engine
* feat: rewrite render layer
- Respect single responsibility principle
- Use Eta includeFile
- Force use "No description" JSDoc comment
* fix: handling x-omitempty property for definition properties (#68)
* docs: update CHANGELOG
* docs: update CHANGELOG
* Migrate to eta (#88)
* BREAKING CHANGE: migrate from mustache template engine to eta template engine
* fix: merge conflicts after rebasing next
Co-authored-by: Rafael Fakhreev <[email protected]>
Co-authored-by: svolkov <[email protected]>
* Sync code base
* chore: delete unnecessary dir
* Update index.js
Fix default templates path
Co-authored-by: svolkov <[email protected]>
Co-authored-by: Rafael Fakhreev <[email protected]>
* chore: revert back fix commit
* BREAKING_CHANGE: return type of generateApi(); feat: modular option; chore: update HttpClient class (exportable)
* fix: outOfModule modular
* feat: complete data contracts imports for modular api modules, add prettier organize imports plugin
* chore: remove console info
* BREAKING_CHANGE: move generating route names into eta template
* fix: problem of missing templates folder
* fix: try to fix problem with not using prettier plugin
* chore: refresh generated tests schemas
* BREAKING_CHANGE: update all dependencies to latest
* feat: improve types in index.d.ts file; refactor: processing templates folder, ETA templates, routes, schemas; feat: optional templates feature
* chore: update CHANGELOG
* feat: --extract-request-params option
* fix: add missing generateApi params to .d.ts file; feat: add support x-enumNames field for enums
* fix: enumNames getting from schema
* feat: improve data-contracts.eta template, now data contracts formatting inside template
* docs: update CHANGELOG
* feat: hooks property for watching/modifying parsed parts of schema
* fix: problem of complex types (`oneOf`, `allOf`) with `properties` field
* chore: fix problem of wrong js docs comments for procedure call
* feat: add pathArgs to routeInfo for routeName template
* BREAKING_CHANGE: properties data and error in HttpResponse type have duck types
* feat: add extraTemplate property for generateApi()
* docs: update docs for --templates option
* bump: up version to 4.0.0
* docs: update README
* refactor: move all type identifiers\naming into constants like TS_KEYWORDS, SCHEMA_TYPES; chore: move prepareConfig to hooks.onPrepareConfig; feat: add onInit hook; feat: enumNamesAsValues
* chore: try to fix travis yml
* chore: remove description from modular api class
* docs: update CHANGELOG
Co-authored-by: Rafael Fakhreev <[email protected]>
Co-authored-by: Rafael Fakhreev <[email protected]>1 parent 4a5d7ea commit 14b6d3d
File tree
120 files changed
+13271
-4616
lines changed- .vscode
- assets/changelog_assets
- src
- render/utils
- templates/defaults
- templates
- default
- modular
- tests
- generated
- v2.0
- v3.0
- schemas
- v2.0
- v3.0
- spec
- defaultAsSuccess
- enumNamesAsValues
- extractRequestParams
- js
- modular
- moduleNameIndex
- responses
- routeTypes
- specProperty
- templates
- spec_templates
- unionEnums
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
120 files changed
+13271
-4616
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 9 | | |
18 | | - | |
| 10 | + | |
19 | 11 | | |
20 | 12 | | |
21 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
3 | 73 | | |
4 | 74 | | |
5 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
70 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
76 | 84 | | |
77 | 85 | | |
78 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
79 | 91 | | |
80 | 92 | | |
81 | 93 | | |
| |||
98 | 110 | | |
99 | 111 | | |
100 | 112 | | |
101 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
102 | 118 | | |
103 | 119 | | |
104 | 120 | | |
105 | 121 | | |
106 | 122 | | |
107 | 123 | | |
108 | 124 | | |
109 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
110 | 137 | | |
111 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
112 | 141 | | |
113 | | - | |
| 142 | + | |
114 | 143 | | |
115 | 144 | | |
116 | 145 | | |
| |||
139 | 168 | | |
140 | 169 | | |
141 | 170 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
146 | 175 | | |
147 | 176 | | |
148 | 177 | | |
Loading
0 commit comments