REST OpenAPI Sink
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Load an OpenAPI specification from a URI and call an operation on a HTTP service. The request that is generated respects the rules given in the OpenAPI specification (for example, path parameters and Content-Type).
Configuration Options
The following table summarizes the configuration options available for the rest-openapi-sink
Kamelet:
Dependencies
At runtime, the rest-openapi-sink
Kamelet relies upon the presence of the following dependencies:
-
camel:rest-openapi
-
camel:http
-
camel:kamelet
-
camel:core
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:timer-source"
parameters:
period: 10000
message: 'test'
steps:
- to:
uri: "kamelet:rest-openapi-sink"
You can now run it directly through the following command
camel run route.yaml