375 Commits

Author SHA1 Message Date
Yuval Tal
228e549b6b return undefined explicitly to avoid compilation errors 2022-03-08 11:31:50 -05:00
Philipp Katz
b7c1cbe8e5 Make BaseHttpRequest abstract
* it's not meant for instantiation anyways, right?
* it'll prevent TS compile error TS6133 when `noUnusedParameters` compiler option is enabled
2022-03-07 17:21:36 +01:00
Ferdi Koomen
fec6534b91 Fixed enum for V2
Bumped version
2022-02-25 22:25:38 +01:00
Ferdi Koomen
2f8ae47c2a - Fixed issue with non string values in x-enum flags 2022-02-25 12:19:46 +01:00
Ferdi Koomen
eedadee59e Merge branch 'master' of github.com:ferdikoomen/openapi-typescript-codegen 2022-02-25 11:47:31 +01:00
Ferdi Koomen
b32c85e4eb - Fixed quotes in enums
- Fixed better default operation name
- Fixed unittest
2022-02-25 11:47:24 +01:00
Ferdi Koomen
54d1bfef2b
Merge pull request #965 from nikopavlica/fix-dictionary-composition
Fixes a bug that prevented using complex dictionaries within compositions
2022-02-25 11:45:47 +01:00
Ferdi Koomen
ec2c712901 Switched to NPM 2022-02-11 11:34:48 +01:00
Niko Pavlica
c88f506be9 Fixes a bug that prevented using complex dictionaries within compositions. 2022-02-09 22:04:42 +01:00
Slava Obukhov
14b4906e3b Fix tests for empty model properties that are valid in OpenAPI 2022-02-09 18:33:59 +01:00
Slava Obukhov
e3421ddcd2 Add support for empty model properties that are valid in OpenAPI 2022-02-09 17:56:52 +01:00
Ferdi Koomen
fce9d907da - Minor change in import order 2022-02-07 18:21:46 +01:00
Ferdi Koomen
75a648cc4e - Added support for the Angular client with --name parameter 2022-02-07 18:16:11 +01:00
Ferdi Koomen
ba151594bc - Testing multiline descripts for params
- Made client and request vars public
2022-01-31 20:05:32 +01:00
Ferdi Koomen
58ba24e5bc - Fixed #948 2022-01-31 19:38:23 +01:00
Ferdi Koomen
5c45280bc7 - Updated example in documentation
- Updated imports of Angular request
2022-01-28 19:01:00 +01:00
Ferdi Koomen
16cc25bf1e - Updated test cases
- Fixed capture of error body in Angular
2022-01-28 10:32:50 +01:00
Ferdi Koomen
8915770ad9 - Eslint fixes 2022-01-28 00:32:16 +01:00
Ferdi Koomen
017de0e236 - Fixed whitespace 2022-01-28 00:28:56 +01:00
Ferdi Koomen
8e05e64a72 - Fixed Angular client 2022-01-28 00:19:01 +01:00
Ferdi Koomen
b7a0f8d0eb - Short notation for properties passed through constructor 2022-01-26 20:20:10 +01:00
Ferdi Koomen
c9b4b7ef1d Merge branch 'master' into feature/angular 2022-01-26 20:17:38 +01:00
Ferdi Koomen
4637325b0a - Shorter writing style for props passed in constructors
- Simplified header creation
- Made helper scripts for test more reasable
2022-01-26 20:15:50 +01:00
Ferdi Koomen
ff4544c082 - Working e2e tests 2022-01-26 19:31:51 +01:00
Ferdi Koomen
de4d115329 - Working Angular tests 2022-01-26 19:03:06 +01:00
Ferdi Koomen
896f0b624c - Working angular test environment 2022-01-26 18:15:07 +01:00
Ferdi Koomen
5a8c2a4d36 Merge branch 'master' into feature/angular 2022-01-26 13:27:20 +01:00
Ferdi Koomen
ca09ad5367 - Removed dependency if URLSearchParams 2022-01-26 11:32:18 +01:00
Ferdi Koomen
a159e77245 - Fixed issue #940 2022-01-26 10:25:08 +01:00
Ferdi Koomen
09e6c5f4cc - Working on e2e tests for angular 2022-01-25 20:43:12 +01:00
Ferdi Koomen
1d8dc54d94 - Added WIP Angular client 2022-01-25 20:02:53 +01:00
Ferdi Koomen
9424a7b240 - Updated PR with master branch 2022-01-25 17:29:55 +01:00
Ferdi Koomen
b2d8096031 - Added e2e test
- Cleanup of new export client logic
2022-01-25 15:32:20 +01:00
Ferdi Koomen
5f58982210 - Working solution for export client 2022-01-25 14:37:41 +01:00
Ferdi Koomen
e1268b197a - Working HttpClient exporter 2022-01-25 13:34:23 +01:00
Ferdi Koomen
83a0692b10 - Adding util to get HttpRequestName 2022-01-25 13:22:59 +01:00
Ferdi Koomen
280d196f99 - Moved to const definitions for functions 2022-01-25 13:22:21 +01:00
Ferdi Koomen
c6c9d2b879 - Added output of httpRequest files 2022-01-25 12:31:24 +01:00
Ferdi Koomen
7b4352c48f - Added write client class methods 2022-01-25 12:15:37 +01:00
Ferdi Koomen
d0900cee8c - Added client and HttpRequest files 2022-01-25 11:52:07 +01:00
Ferdi Koomen
ae33149797 - Tested seperation of OpenAPI object, some small fixes 2022-01-25 11:15:56 +01:00
Ferdi Koomen
cd24337650 - Decoupled OpenAPI object from request files 2022-01-25 11:02:49 +01:00
Ferdi Koomen
d7479aef16 - Working on updating client export PR 2022-01-25 10:31:11 +01:00
Ferdi Koomen
15f7955ce4 - Working indentation 2022-01-25 10:16:09 +01:00
Ferdi Koomen
6f2a714a15 - Working on formatter for spacing 2022-01-25 00:00:47 +01:00
Ferdi Koomen
975d44e27b - Adding wip for Angular client 2022-01-24 23:01:23 +01:00
Ferdi Koomen
40ef68fec4 - Cleanup of generation without tags 2022-01-24 18:43:14 +01:00
Ferdi Koomen
5a8457fee8
Merge pull request #929 from keithbro/handle-empty-tags
Handle empty tags
2022-01-24 18:31:55 +01:00
Ferdi Koomen
173a3fba4c - Updated #713 2022-01-24 18:28:59 +01:00
Ferdi Koomen
9049afd509 - Updated parsing of comments 2022-01-24 17:47:03 +01:00