User manual
camel generate rest
Generate REST DSL source code from OpenApi specification
This command is provided by the generate plugin. Install it with camel plugin add generate. |
Options
| Option | Description | Default | Type |
|---|---|---|---|
| Generate Java Data Objects | boolean | |
| OpenApi specification file name | String | |
| Openapi specification 3.0 or 3.1 | 3.0 | String |
| Output REST DSL file name | String | |
| Package for generated Java models | model | String |
| Generate routes (only in YAML) | boolean | |
| Runtime | quarkus | RuntimeType |
| REST DSL type (YAML or XML) | yaml | String |
| Display the help and sub-commands | boolean |