251 Commits

Author SHA1 Message Date
Mark Brockhoff
504928f76a feat: Add postfixModels to generate function & rename postfix to postfixServices 2022-07-14 11:17:31 +02:00
Ferdi Koomen
32ff947dee Fix undefined request body when body === false or 0, "" in other clients 2022-06-13 21:45:26 +02:00
Ferdi Koomen
97b2c64715 - Reverted test scripts 2022-05-31 18:03:46 +02:00
Ferdi Koomen
0ae4db4f61 - Added better support for deprecated prop 2022-05-31 17:53:03 +02:00
Ferdi Koomen
4428f85f2c - Updated test cases after EOL change
- Added request options object to ApiError
2022-05-31 12:42:13 +02:00
Ferdi Koomen
59254d94a9 - Upgraded dependencies
- Removed depricated enum model generation
- Fixed issue with "null" value inside comments for OpenAPI v2 enums
- Fixed issue with compatibility for latest version of Axios (0.27.x)
2022-04-26 16:25:49 +02:00
Ferdi Koomen
28415a82d9 Removed private fields using new # syntax due to issues 2022-04-06 22:28:19 +02:00
Ferdi Koomen
05d5962144 Return undefined in most cases to support noImplicitReturns rule
Filter out wrong enum values
2022-04-06 22:21:06 +02:00
Ferdi Koomen
93d57da3f6 Updated dependencies 2022-04-06 21:57:23 +02: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
a45e1b1586 - Fixed unittest 2022-02-25 11:55:08 +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
Ferdi Koomen
75a648cc4e - Added support for the Angular client with --name parameter 2022-02-07 18:16:11 +01:00
Ferdi Koomen
facfe1666b - Added testcases for query parsing 2022-02-02 21:20:12 +01:00
Ferdi Koomen
4c21c5107d - Added test cases for CLI
- Upgraded dependencies
2022-02-02 20:45:40 +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
944dc4a409 - Adding new version 2022-01-28 17:42:45 +01:00
Ferdi Koomen
ff1cb27391 - Added angular documentation 2022-01-28 17:35:12 +01:00
Ferdi Koomen
71fd3ed545 - Updated documentation 2022-01-28 17:15:55 +01:00
Ferdi Koomen
392fb67322 - Updating documentation 2022-01-28 16:11:52 +01:00
Ferdi Koomen
ac62141454 - Fixed small typo in tests 2022-01-28 15:17:21 +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
8e05e64a72 - Fixed Angular client 2022-01-28 00:19:01 +01:00
Ferdi Koomen
ff4544c082 - Working e2e tests 2022-01-26 19:31:51 +01:00
Ferdi Koomen
9662125bda - Minor typo in jest config 2022-01-26 19:03:47 +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
0ae6185400 Updating test setup 2022-01-26 16:56:03 +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
280d196f99 - Moved to const definitions for functions 2022-01-25 13:22:21 +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
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
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
Ferdi Koomen
3dde57a8ec - Updated dependencies
- Aligned request cancelation between clients
2022-01-24 16:51:05 +01:00
Ferdi Koomen
07c98cf9e6 - Modernized setup and using typescript for test files 2022-01-06 18:41:57 +01:00