Java based REST Client

Hey guys,

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:


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,