Skip to content

Node Generator

Node Generator converts any OpenAPI or Swagger specification into a set of native KNIME nodes. Feed it a YAML or JSON spec — from a local file or a URL — and it produces a complete Maven project including node dialogs, authentication nodes, response mapping, and a P2 update site ready to install in KNIME.

Node Generator is a free command-line tool built and maintained by NodePit.

Requirements

Quick Start

1. Download the JAR

Download nodegenerator.jar from the NodePit download server, or use curl:

bash
curl -O https://download.nodepit.com/nodegenerator/nodegenerator.jar

2. Run the generator

Pass the location of your OpenAPI or Swagger specification — a local file path or a URL:

bash
java -jar nodegenerator.jar https://petstore.swagger.io/v2/swagger.json

Node Generator writes the generated project to a generated/ directory. Use --destination to change the output path.

3. Build the update site

bash
cd generated
mvn clean verify

Maven compiles the generated Java code and produces a P2 update site at generated/p2/target/repository.

4. Install the nodes in KNIME

  1. Open KNIME Analytics Platform.
  2. Go to File → Preferences → Install/Update → Available Software Sites.
  3. Click Add …, then Local …, and point to the p2/target/repository directory.
  4. Go to File → Install KNIME Extensions …, find your nodes by name, and install them.
  5. Restart KNIME when prompted.

Distributing via NodePit

If you want to distribute your extension through the NodePit catalog, contact mail@nodepit.com. Once set up, use --nodepit-product <product-id> to configure automated publishing as part of the generated CI pipeline — see Publishing Extensions for what this uploads and how to do it manually.

For a full list of all available options, see the CLI Reference.

Was this page helpful?