User manual

camel generate schema

Create a JSON schema for a given Camel component and Java Object

This command is provided by the generate plugin. Install it with camel plugin add generate.

Usage

camel generate schema [options]

Options

Option Description Default Type

--camel-version

Camel version to use

String

--download

Whether to allow automatic downloading JAR dependencies (over the internet)

true

boolean

--fresh

Make sure we use fresh (i.e. non-cached) resources

false

boolean

--output

Output file path (default: stdout)

String

--repo,--repos

Additional maven repositories for download on-demand (Use commas to separate multiple repositories)

String

--verbose

Enable verbose logging

boolean

-h,--help

Display the help and sub-commands

boolean