-
Task
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
-
None
Problem description:
The DTO property types in the Rest API are not consistent. Some classes contain primitive type properties, while others use a wrapper class for the appropriate primitive type. In the following "Request object" DTOs:
- EvaluationConditionDto.withoutTenantId is of primitive type (https://github.com/camunda/camunda-bpm-platform-maintenance/blob/master/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/condition/EvaluationConditionDto.java#L27)
- BatchQueryDto.withoutTenantId uses the wrapper class as type (https://github.com/camunda/camunda-bpm-platform/blob/master/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/batch/BatchQueryDto.java#L45)
Impact:
This impacts how the Rest API is used. Primitive types are not nullable, implicitly making these properties required.
AT:
One of the following:
- Make all DTO property types consistent
- Define a rule when a primitive type, and when a wrapper class should be defined.
This is the controller panel for Smart Panels app
- is related to
-
CAM-11767 OpenAPI client [C#]: Exception on fetch and lock
- Closed