0.0.13 • Published 5 years ago

jx-ts-client v0.0.13

Weekly downloads
9
License
-
Repository
-
Last release
5 years ago

JX client for typescript

This is a generic typescript client for JX. It just contains the models generated from the Jenkins X custom resources.

It's generated from the OpenAPI Schema (see https://github.com/jenkins-x/jx/tree/master/docs/apidocs/openapi-spec and https://jenkins-x.io/contribute/apidocs/). To regenerate the client run make. The client is located in the generated directory and is checked into git.

Hacking on the generator

This project uses the Node Typescript Generator from https://github.com/OpenAPITools/openapi-generator/ and customises the model names to strip out the long prefixes present in the OpenAPI spec. The customisations are stored in jxtsclientopenapi. These are loaded using the service loader in that project. In order to make this work with OpenAPI we add all the files from this project into the OpenAPI generator jar before running it. This is done by scripts/openapi-generator-cli.

0.0.13

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago