@apsel/apsel-api-ts-axios

Library to access the Apsel API

Usage no npm install needed!

<script type="module">
  import apselApselApiTsAxios from 'https://cdn.skypack.dev/@apsel/apsel-api-ts-axios';
</script>

README

APSEL API for AXIOS

This is an auto-generated API for the apsel platform using typescript and axios library.

It is autogenerated from the openapi specification using open api generator.

https://github.com/OpenAPITools/openapi-generator

Updating

When updating the API you need to increase the version number in package.json or gradle will not detect the upgrade.

Commands

yarn update

Regenerate the code from the api.yaml file and build the library

yarn build

Build the library

yarn watch

Watch for change and rebuild the library

yarn lint

Validate the typsescript code

yarn

"lint": "tslint -p tsconfig.json",

"test": "jest --config jestconfig.json",

"update": "../../bin/generate_api.sh src/"