Details
Description
Environment (Required on creation):
Camunda BPM Run , 7.15.0, accessed through REST Python client generated by openapi-generator-cli
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
Steps to reproduce (Required on creation):
I downloaded the openapi.json file for Camunda 7.15.0
Using openapi-generator-cli I generated a client for Python.
However when I am testing the /message API I have a problem when I try to set process variable (Postman example below)
Observed Behavior (Required on creation):
The client raises an error, because for the "value" I am passing a string "What time is it?" and according to the openapi schema, it expects an object (dictionary):
Expected behavior (Required on creation):
To be able to send as processVariables values - simple literals like string, int, etc.
Root Cause (Required on prioritization):
Solution Ideas (Optional):
Describe "value"."type" as
- oneOf (string, integer, ...)
- the built-in AnyValue supported by OpenAPI
Hints (Optional):
mgm-controller-panel
This is the controller panel for Smart Panels app
Attachments
Issue Links
- depends on
-
CAM-13468 OpenAPI Type of value property in VariableValueDto.ftl should be AnyType
- Closed