README
UP API client
Development
Generate DTO interfaces
PS: This step assumes swagger.yaml in current dir
npm run gen:dto
Add / Edit client code
Build code with:
npm run build
Run tests
npx jest
Publish to NPM
npm publish
PS: This step assumes swagger.yaml in current dir
<script type="module">
import odiupskUpApiClient from 'https://cdn.skypack.dev/@odiupsk/up-api-client';
</script>
PS: This step assumes swagger.yaml in current dir
npm run gen:dto
Build code with:
npm run build
npx jest
npm publish