camunda-community-hub / camunda-platform-7-rest-client-spring-boot

Camunda REST client for Java Spring Boot Projects, implemented using Feign
https://camunda-community-hub.github.io/camunda-platform-7-rest-client-spring-boot/
Apache License 2.0
72 stars 22 forks source link

RequestParam.value() was empty on parameter 2 #264

Closed yulinyanga closed 2 years ago

yulinyanga commented 2 years ago

error: Error creating bean with name 'org.camunda.community.rest.client.api.HistoricVariableInstanceApiClient': Unexpected exception during bean creation; nested exception is java.lang.IllegalStateException: RequestParam.value() was empty on parameter 2

path: org.camunda.community.rest.client.api.HistoricVariableInstanceApi : line 192、line 266 : @RequestParam(value = "", required = false) Object variableValue

Please complete, thank you. Sorry for asking this question for the first time

rohwerj commented 2 years ago

Sadly in the Openapi specification from Camunda, this parameter is specified with type: object. The generator assumes this to be a map of parameters and therefore generates an empty value attribute. Will fix this by modifying the generated java class.

rohwerj commented 2 years ago

fixed by #267