Skip to content
Dwayne Jeng edited this page Jun 27, 2022 · 1 revision

Install NPM

npm is the package manager for Node.js, a JavaScript interpreter. While I manage my node version using nvm, it is perfectly fine to run the Node installer you can find here: https://nodejs.org/en/

(Depending on your machine you might already have Node.js installed. Open a command line terminal and try the command "node" there.)

Then you can run the npm installer, found here: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm

All of this stuff is used by the Swagger processing tools to generate the final Swagger.json file from our YAML files.

Configuring and Building JavaSDK

  1. If you're using IntelliJ as your IDE, go to rest-client/target/swagger/src/main/java, right-click and Mark Directory As Sources Root.
  2. Bump pom.xml version. You'll need to do this in 3 different places. To do this, run `mvn versions:set -DnewVersion=0.8.1', replacing 0.8.1 with an increased version number.
  3. Run mvn install to build JavaSDK and write the artifacts to your local repo.
Clone this wiki locally