Language: Deutsch · English
Connect external REST services – generate a Java client from an OpenAPI specification and use it in rules.
HOW-TO DEVELOPER STAND: JUL 2026 GILT FUER NUCLOS 4.2026.X
Auf dieser Seite
Nuclos can generate a Java client from an OpenAPI specification using the OpenAPI Generator to connect external REST services. This client can be used in rules (from Nuclos 4.2023.29).
Register the service specification under Administration → REST APIs. Nuclos then generates classes under <NUCLOS-HOME>/data/codegenerator/src-conf-rest/ that can be used in rules.
| Field | Meaning |
|---|---|
| Name | unique; used e.g. as the adapter class name (e.g. example.rest.NuclosRESTAdapter). |
| Main package | package of the invoker (default <nuclet>.invoker). |
| API package | package of the api (default <nuclet>.api). |
| Model package | package of the models (default <nuclet>.models). |
| HTTP client library | default jersey2. |
| Date library | default java8. |
| BigDecimal as String | avoids precision loss. |
| Serializable | models implement Serializable. |
| File | OpenAPI specification as JSON or YAML. |
Generator docs
Further generator options: openapi-generator.tech.