Openapi Trait

The OpenAPI 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 openapi trait is a platform trait and cannot be disabled by the user.

Configuration

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

$ kamel run --trait openapi.[key]=[value] --trait openapi.[key2]=[value2] integration.groovy

The following configuration options are available:

Property Type Description

openapi.enabled

bool

Deprecated: no longer in use.

openapi.configmaps

[]string

The configmaps holding the spec of the OpenAPI