Contact Us 1-800-664-9073

On Saturday April 1, 2023, from 9 AM to 2 PM (PDT), docs.mulesoft.com content will be unavailable due to scheduled maintenance.

APIkit 4.x Overview

If you’re an APIkit 3.x user, you can get up and running quickly with APIkit 4.x. Basic use hasn’t changed. Key improvements and changes in this release are:

  • APIkit is now a Mule plugin.

    • MuleSoft can update APIkit in a timely manner, independent from Mule Runtime updates.

    • To use a different APIkit version, just change the dependency in the POM.

      pom.xml file highlighted in the *Package Explorer*.
  • The API folder is located under resources. API definition files are no longer duplicated in the root folder.

    Pom file highlighted in the target folder, in the Package Explorer tab.
  • API Console 4.0 that simulates calls to the API is not embedded in Studio.

    You enter a URL, which appears when you run the API, to open API Console in a browser.

  • Some APIkit XML elements and attributes, listed in the "APIkit XML Reference" changed.

  • Error handling aligns with Mule Runtime 4.0.

  • APIkit 4.x removes the following APIkit 3.x properties:

    • consolePath

    • consoleEnabled

APIkit Distribution

The timing of future improvements and fixes are no longer constrained by Studio or Mule Runtime release schedules. In Studio, you use the installation wizard to check for updates. To change an APIkit version, just change the dependency in the POM of your application with the latest version of the module.

<dependency>
  <groupId>org.mule.modules</groupId>
  <artifactId>mule-apikit-module</artifactId>
  <version>1.1.0</version>
  <classifier>mule-plugin</classifier>
</dependency>

Customize APIkit

You can customize the configuration of APIkit. For example, you can change the host, port, path, and scheme by editing the listener and listener-config in the configuration.xml of the project.

View on GitHub