I’m using Spring Cloud OpenFeign together with the Camunda REST DTOs to access a Camunda process via the REST Api.
The only Maven dependency for Camunda is:
<dependency> <groupId>org.camunda.bpm</groupId> <artifactId>camunda-engine-rest</artifactId> <version>7.11.0</version> <classifier>classes</classifier> </dependency>
This works alright. But for using the ProcessDefinitionDto I also need to add the camunda-engine library, because ProcessDefinitionDto references ProcessDefinition (which resides in the engine lib).
Don’t have any big issues including the lib. I just wonder if using the DTOs is the best practice to build a Java based REST client?
Thanks for any feedback and best regards,