1.0.0 • Published 3 years ago

nedap-node-client v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Nedap API Typescript-Fetch Client

This package/module is auto generated using Nedap openapi document and openapi-generator. It provides models for request and response, util function to transform json to object, and node-fetch client for all Nedap API endpoints. This module was published to https://www.npmjs.com/package/nedap-api-client.

Usage of the module

  • Run following command
npm install --save nedap-api-client

Generate/Update the module

java -jar ~/Downloads/openapi-generator-cli-5.1.0.jar generate \
  -i ~/Downloads/idcloud-openapi.json \
  -g typescript-node \
  -o ~/repo/nedap-api-client \
  --additional-properties supportsES6=true \
  --additional-properties typescriptThreePlus=true
  • Test the generated module by running following
tsc ./api/apis.ts --lib ES2015 --target ES2015 --esModuleInterop --moduleResolution node
  • At root folder of the generated module, add/edit package.json, make sure you have signed in your npm account, run following command
npm publish