Rest Dsl Trait

The Rest DSL trait is internally used to allow creating integrations from a OpenAPI specs.

This trait is available in the following profiles: Kubernetes, Knative, OpenShift.

The rest-dsl trait is a platform trait: disabling it may compromise the platform functionality.

Configuration

Trait properties can be specified when running any integration with the CLI:

kamel run --trait rest-dsl.[key]=[value] integration.groovy

The following configuration options are available:

Property Type Description

rest-dsl.enabled

bool

Can be used to enable or disable a trait. All traits share this common property.