Environment (Required on creation):
Camunda Platform Rest OpenAPI json and running engine >= 7.13.0
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
Incorrect OpenAPI schema definitions prevents usage of the documented create deployment endpoint.
Steps to reproduce (Required on creation):
- Use the OpenAPI json to create a client
- Use the the client to create deployment with two or more deployment resources.
Observed Behavior (Required on creation):
Only the last one resource gets deployed
Expected behavior (Required on creation):
All of the deployment resources are deploy as part of the same deployment
Root Cause (Required on prioritization):
Incorrect definition of `MultiFormDeploymentDto` OpenAPI schema definition and `data` property, it's a single string property at the moment with predefined name.
Solution Ideas (Optional):
Hints (Optional):
- Is it possible to document the endpoint with the current specification?
- Ideally we need to define an array binary properties with undefined names
- Other alternatives?
- Adjust the REST API implementation to avoid unique keys for the resource array. (check comments)
Workaround:
- Modify the generated client code to correctly resolve the deployment resources.
This is the controller panel for Smart Panels app
- is duplicated by
-
CAM-13510 OpenAPI Create Deployment: Data property has incorrect configuration for multiple files
- Closed
- links to