Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12326

Open API: the response schema of the "fetch and lock for external tasks" API is missing the nullable flag for some properties

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.15.0-alpha1, 7.15.0
    • 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

      1. Generate an NSwag C# .NET client based on the Open API definition
      2. 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

          1. image-2020-08-25-15-40-33-939.png
            65 kB
            Jiri Halaska
          2. image-2020-08-25-15-43-39-637.png
            74 kB
            Jiri Halaska
          3. openapi_adjusted.json
            947 kB
            Yana Vasileva

              Unassigned Unassigned
              jiri.halaska Jiri Halaska
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: