Bodo Graumann
f3f5fef279
Typescript refactor: Platform select for browser and node ( #4500 )
...
* Use string form of filename parameter
This works for the form-data library and is also compatible with the
browser FormData object.
* Add new option to select platform node or browser
When no platform is selected, a default is chosen by the framework
option and likewise the file data type option is implied by the
platform.
* Remove redundant import of node dns module
* Only use form-data library for node platform
* Generate npm package from npmName option
* Use method convertPropertyToBooleanAndWriteBack
* Generate typescript samples with ensure-up-to-date
2020-01-18 06:31:27 -05:00
Bodo Graumann
6dfe637b21
Typescript refactor: stub rxjs ( #4424 )
...
* Remove unused supportsES6 field from codegen
* Add a new switch for RXJS
* Remove redundant npm dependency on rxjs4 types
* Fix return type of PromiseMiddleware methods
* Install webpack dependency to run jquery tests
* Update form-data to 2.5 which includes typings
* Add missing dependency on node typings
* Fix test artifact name typo
* Stub rxjs when it is not explicitly enabled
2019-11-19 11:48:08 -05:00
Bodo Graumann
a738e95aee
Refactor typescript merge master ( #4319 )
...
Merge master into ts-refactor
2019-11-01 11:04:18 -04:00
Tino Fuhrmann
9d08f8bc5b
Updated typescript docs
2019-05-06 12:07:03 +02:00
Tino Fuhrmann
9e49c7e942
Fixed missing fetch definition in TS default tests
2019-05-06 12:03:07 +02:00
Tino Fuhrmann
bc734da7d4
Ensured up to date
2019-05-05 22:58:45 +02:00
Tino Fuhrmann
abff890b90
Fixed a couple issues with pom.xml
2019-05-05 22:39:52 +02:00
Tino Fuhrmann
b796270880
Removed tabs in TypeScriptClientCodegen
2019-05-05 20:43:50 +02:00
Tino Fuhrmann
02c1d9ff64
Added pom.xmls, fixed packagejsons and hopefully webppack
2019-05-05 20:32:01 +02:00
Tino Fuhrmann
7d69d0b9cb
Added jquery library
2019-05-05 16:44:32 +02:00
Tino Fuhrmann
3e94fd15cc
Added gitignore and git_push
2019-05-03 20:22:29 +02:00
Tino Fuhrmann
491fae4c25
Updated docs
2019-05-02 15:10:13 +02:00
Tino Fuhrmann
be3e24b681
Added typescript to docs/generators
2019-05-01 11:26:25 +02:00
Tino Fuhrmann
7d0b3e1879
Fixed compilation issues in TypeScriptClientCodegen
2019-05-01 10:50:57 +02:00
Tino Fuhrmann
8b138ecd81
Reverted changes to README to master
2019-05-01 10:45:51 +02:00
Tino Fuhrmann
496c0c8bdc
Removed accidentally created generated code
2019-05-01 10:45:07 +02:00
Tino Fuhrmann
b8e31fcddd
Ignore openapi-generator-cli/bin
2019-05-01 10:43:47 +02:00
Tino Fuhrmann
64b8505010
Added comments
2019-04-30 23:25:24 +02:00
Tino Fuhrmann
5f163da848
Added comments & license info
2019-04-30 23:25:24 +02:00
Tino Fuhrmann
7f5615485d
Fixed date-time and date handling
2019-04-30 23:25:24 +02:00
Tino Fuhrmann
e700a08a8f
Set discriminator value automatically
2019-04-30 23:20:50 +02:00
Tino Fuhrmann
74bb8ccfe7
Configure discriminator correctly
2019-04-30 23:20:50 +02:00
Tino Fuhrmann
01b0ff6008
Made discriminator and attributeTypeMap readonly
2019-04-30 23:20:50 +02:00
Tino Fuhrmann
5323a5d7a6
Added promise based middleware
2019-04-30 23:20:50 +02:00
Tino Fuhrmann
8c03ea8ca5
Use observables internally
2019-04-30 23:20:50 +02:00
Tino Fuhrmann
c90c3f9d7b
Restructured module layout
2019-04-30 23:20:50 +02:00
Tino Fuhrmann
9c17bc5721
Remove tab
2019-04-30 23:20:50 +02:00
Tino Fuhrmann
a0e3f18f2f
Use string union for enums
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
647474f3d9
Made api call configuration separately settable
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
4720467cbb
Fixed file uploads
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
2468b748d3
Additional tests for pet store api
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
9a9e62cfa5
Removed tabs in DefaultCodegen
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
5174e7539b
Removed tabs in TypeScriptClientCodegen
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
fe0cb07afb
Added handling for different http status codes and test for deletePet
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
878ea6e1c1
Fixed ObjectSerializer test
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
69dfdd57a6
Added simple test for PetApi
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
502e209bfe
[TS-Refactor] Added tests for Object Serializer
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
8d29ca42d5
Added server variable configuration to ts-refactor
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
49219fa48a
Added ts client codegen to root pom.xml and travis
2019-04-30 23:20:49 +02:00
Tino Fuhrmann
f4b3eb011b
Removed tabs from TypeScriptClientCodegen
2019-04-30 23:19:34 +02:00
Tino Fuhrmann
ef065f3013
Added pom.xml files to TypeScript PetStore client samples
2019-04-30 23:19:34 +02:00
Tino Fuhrmann
29940ef0b1
Removed TODOs
2019-04-30 23:19:34 +02:00
Tino Fuhrmann
dd7d8c0271
Reverted: http library.send returns string again
2019-04-30 23:19:34 +02:00
Tino Fuhrmann
0da5238e24
Restructured TypeScript generator
2019-04-30 23:19:33 +02:00
Tino Fuhrmann
2e8446ceee
Added middleware to fetch
2019-04-30 23:19:33 +02:00
Tino Fuhrmann
662242157f
Ignore dist folder in typescript client sample
2019-04-30 23:19:33 +02:00
Tino Fuhrmann
5adefaf53f
Implemented fetch client
2019-04-30 23:19:33 +02:00
Tino Fuhrmann
8dca5e4cbe
Implemented RequestFactory and Processor completely
2019-04-30 23:19:33 +02:00
Tino Fuhrmann
e21a48dd64
WIP: api modeling
2019-04-30 23:19:33 +02:00
Tino Fuhrmann
894bddac1b
Updated auth
2019-04-30 23:19:33 +02:00