Commit Graph

51 Commits

Author SHA1 Message Date
e3e4be3a5e API generation 2020-05-14 18:16:26 +02:00
b109f60763 API generation 2020-05-07 08:11:36 +02:00
0d5c7a880f API generation 2020-04-30 11:28:37 +02:00
cfc21f56c2 API generation 2020-04-10 12:21:27 +02:00
8522f303ee API generation 2020-04-07 11:25:25 +02:00
d10e8bb9f3 API generation 2020-04-06 11:35:59 +02:00
953a8033ab API generation 2020-04-03 09:49:51 +02:00
bb28276553 API generation 2020-04-02 07:48:45 +02:00
2963fa6e0b API generation 2020-03-30 14:50:18 +02:00
da35f71f2d API generation 2020-03-27 13:46:30 +01:00
6c82a4967e Refactored type definitions (#1119)
* Updated types generation script

* Refactored api method definitions

* Updated test
- Removed old test code
- Added tsd dev dependency
- Rewritten test with tsd

* Removed unused dependencies

* Fixed definition

* Updated test

* Updated docs

* Improved events type definitions

* Updated test

* Minor fixes in the type definitons

* More type test

* Improved Transport type definitions

* Updated test

* Addressed comments

* Code generation

* Use RequestBody, Response and Context everywhere, also default Context to unknown

* Updated test

* body -> hasBody

* Fixed conflicts

* Updated code generation

* Improved request body type definition

* Updated code generation

* Use BodyType for both request and reponses generics
- Use extends for defining the RequestBody generic to force the user
  following the same shape.
- BodyType and NDBodyType now accepts a generics to allow injecting
  more specific types in the future

* API generation

* Updated test

* Updated docs

* Use BodyType also in ReponseError

* Removed useless client generics

* Renamed generics and types
- prefixed all generics with a T
- BodyType => RequestBody
- NDBodyType => RequestNDBody
- Added ResponseBody

* Updated test

* Updated docs

* Test ResponseBody as well

* Simplify overloads

* API generation

* Updated test

* Updated error types
2020-03-23 11:38:18 +01:00
1b638d6992 API generation 2020-03-20 16:54:50 +01:00
87579e4ca9 API generation 2020-03-20 13:33:56 +01:00
7f19628907 API generation 2020-03-19 08:39:55 +01:00
7e51d4cd8c API generation 2020-03-18 15:05:03 +01:00
f1fcf4746d API generation 2020-03-17 11:38:44 +01:00
5445f0b22b API generation 2020-03-12 08:42:31 +01:00
6d50c9fa30 API generation 2020-03-04 09:19:06 +01:00
6261dd7909 API generation 2020-02-25 10:26:24 +01:00
d621d31d39 API generation 2020-02-19 11:55:45 +01:00
0c4875aa6d API generation 2020-02-10 12:05:42 +01:00
41927914bb API generation 2020-02-06 09:16:30 +01:00
93d24dcc5b API generation 2020-02-03 11:00:17 +01:00
ebb96e95bf API generation 2020-01-31 15:27:34 +01:00
7478913d6c API generation 2020-01-13 12:23:10 +01:00
6cef0aff18 API generation 2020-01-07 11:08:28 +01:00
e2ba0634bf API generation 2019-12-13 09:03:01 +01:00
bb4b40b3fd API generation 2019-12-03 14:38:19 +01:00
c40eaab038 API generation 2019-11-25 17:04:37 +01:00
f3b044e60c API generation 2019-11-19 19:35:07 +01:00
def4be92c6 API generation 2019-10-30 09:50:17 +01:00
e098f77a23 API generation 2019-10-24 09:54:18 +02:00
82b6c2005b API generation 2019-10-01 10:07:23 +02:00
69247496ce Update code generation (#969)
* Updated code generation scripts to use the new spec

* API generation

* Fix bad link
2019-09-16 16:55:23 +02:00
f7be49f2ba API generation 2019-08-14 08:57:25 +02:00
1f1b4c29fa API generation 2019-07-29 11:39:50 +02:00
fa07de3284 Master API generation (#922) 2019-07-25 13:03:24 +02:00
0039fad487 Revert "API generation"
This reverts commit 7c5992131b.
2019-07-24 14:12:47 +02:00
7c5992131b API generation 2019-07-24 10:58:54 +02:00
36a1666cc8 Updated license header (#915) 2019-07-22 11:46:59 +02:00
d00564722e API generation 2019-07-04 12:11:34 +02:00
2186396570 API generation 2019-07-01 12:41:44 +02:00
f037e8115e API generation (#875) 2019-06-11 21:02:36 +02:00
844206ec9d Patch deprecated parameters (#851)
* Updated code generation

* API generation

* API generation

* Updated code generation
2019-05-16 16:52:15 -04:00
e3a0e9ed56 API generation 2019-04-24 10:22:37 +02:00
a21281fc48 Improve typings (#813)
The ApiResponse now accepts a generics that defaults to any, same for every API method that might need a body.
2019-04-10 11:40:25 +02:00
fb73b4b08d Master should use the latest version of ES (#780)
The `master` branch should work with the latest snapshot of Elasticsearch.

- Use `8.0.0-SNAPSHOT`
- Code generation
- Updated scripts and CI conf
2019-03-28 09:05:00 +01:00
cae38e6b2b License (#773)
- Added license header
- Added license checker
- Fixed tap
2019-03-08 07:47:24 +01:00
96fe644eb2 API generation 2019-02-15 10:29:48 +01:00
7acd2e3b07 Elasticsearch 7 support 🚀 (#760)
* API generation

* Updated typings

* Updated code generation

* Updated test

* Updated ci configuration

* Fixed test
2019-01-29 12:10:20 +01:00