-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.13.0
-
None
-
- NSwag generated client for C# .NET on Windows 10
- Tried on Camunda RUN 7.13.0-alpha2 and on Camunda embedded engine on version 7.13.0
Steps to reproduce
- Generate an NSwag C# .NET client based on the Open API definition
- Perform a "fetch and lock for external tasks" API call
Expected behavior
Locked external task objects are returned.
Observed behavior
The deserialization of the locked external task objects fails.
Root cause
The Open API definition of the LockedExternalTaskDto is missing the nullable flag for the following properties:
- errorMessage
- errorDetails
- processDefinitionVersionTag
This is the controller panel for Smart Panels app
[CAM-12326] Open API: the response schema of the "fetch and lock for external tasks" API is missing the nullable flag for some properties
Summary | Original: OpenAPI descriptor - missing nullable attribute where API returns null | New: OpenAPI descriptor - missing nullable attribute where API returns null - error in NSwag C# client |
Assignee | New: Tassilo Weidner [ tassilo.weidner ] |
Mentioned Roles |
Mentioned Groups |
Mentioned Roles |
Mentioned Groups |
Mentioned Roles |
Mentioned Groups |
Labels | New: OpenAPI |