<dependency> <groupId>org.mule.modules</groupId> <artifactId>mule-apikit-module</artifactId> <version>LATEST_VERSION</version> (1) <classifier>mule-plugin</classifier> </dependency>
APIkit for REST Module Reference
Learn the fundamentals about dependency, namespace, schema, and other information about APIkit for REST.
APIkit for REST Dependency Information
1 | Check APIkit release notes to get the LATEST_VERSION. |
APIkit for REST Configuration and Operations
Element Name | Description | Required |
---|---|---|
|
APIkit configuration |
Yes |
|
Property of |
No |
|
REST routing message processor nested in the flow element |
Yes |
apikit:config Attributes
The apikit:config
attributes are of NonBlankString`type
.
Attribute Name | Required | Description |
---|---|---|
|
No |
Name of the map that contains response headers. |
|
No |
Name of the variable that stores the HTTP status code in the response. |
|
No |
Alias for the equivalent This attribute is deprecated as of version APIkit 1.2.0. Included to provide compatibility with APIkit 1.1.x. |
|
Yes |
Configuration name that other elements, such as |
|
Yes |
Alias for the equivalent This attribute is deprecated as of version APIkit 1.2.0. Included to provide compatibility with APIkit 1.1.x. |
|
No |
Parser used to validate requests. Attribute valid for APIkit 1.2.0 and later. Possible values are:
Default Value: AUTO. |
|
No |
Root API file location. This attribute is valid for APIkit 1.2.0 and later. The |
|
No |
Attribute valid for APIkit 1.2.0 and later. When set to |
If you use APIkit behind a reverse proxy and set keepRamlBaseUri
to true
, use API Console to put the URL of a proxy in the baseUri
property.
apikit:router Attributes
Attribute Name | Required | Description |
---|---|---|
|
No |
Disables validations of requests. |
|
No |
Validates that request headers are defined in the RAML file or belong to a well-known set of headers. |
|
No |
Validates that request query parameters are defined in the RAML file. |
APIkit for REST Namespace and Schema
xmlns:apikit="http://www.mulesoft.org/schema/mule/mule-apikit" xsi:schemaLocation="http://www.mulesoft.org/schema/mule/mule-apikit http://www.mulesoft.org/schema/mule/mule-apikit/current/mule-apikit.xsd"
APIkit for REST System Properties
System Property | Default | Description | Since |
---|---|---|---|
|
false |
Allows parser to expand XML external entities. The default value is |
1.3.7 |
|
false |
Allows parser to expand XML internal entities. The default value is |
1.3.7 |
|
false |
Disables console. |
1.3.7 |
|
true |
Streams AMF parser model to the console. |
1.5.0 |
|
false |
Fails when there is a |
1.1.15 |
|
true |
Checks no duplicate JSON object field names are encountered when the RAML parser is configured. |
1.1.15 |
|
true |
Blocks the use of unsafe base types when the RAML parser is configured. |
1.5.0 |
|
AUTO |
Overrides parser type. Possible values are:
|
1.3.7 |
|
268435456 |
Limits the size of the multipart payload to be validated by throwing |
1.8.0 |
|
localhost |
Overrides the console URL. |
1.1.15 |