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
- Java JDK 17 or higher — Adoptium Temurin is recommended.
- Apache Maven — see the Maven installation guide.
Quick Start
1. Download the JAR
Download nodegenerator.jar from the NodePit download server, or use curl:
curl -O https://download.nodepit.com/nodegenerator/nodegenerator.jar2. Run the generator
Pass the location of your OpenAPI or Swagger specification — a local file path or a URL:
java -jar nodegenerator.jar https://petstore.swagger.io/v2/swagger.jsonNode Generator writes the generated project to a generated/ directory. Use --destination to change the output path.
3. Build the update site
cd generated
mvn clean verifyMaven compiles the generated Java code and produces a P2 update site at generated/p2/target/repository.
4. Install the nodes in KNIME
- Open KNIME Analytics Platform.
- Go to File → Preferences → Install/Update → Available Software Sites.
- Click Add …, then Local …, and point to the
p2/target/repositorydirectory. - Go to File → Install KNIME Extensions …, find your nodes by name, and install them.
- 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.