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

    • 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

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

            Jiri Halaska created issue -
            Jiri Halaska made changes -
            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
            Tassilo Weidner made changes -
            Assignee New: Tassilo Weidner [ tassilo.weidner ]

            Hi jiri.halaska,

            Thank you for reaching out to us with your question.

            Your evaluation seems feasible for me. However, I would like to analyze the problem and will come back to you with my results next week at the latest.

            Stay tuned!

            Best,
            Tassilo

            Tassilo Weidner added a comment - Hi jiri.halaska , Thank you for reaching out to us with your question. Your evaluation seems feasible for me. However, I would like to analyze the problem and will come back to you with my results next week at the latest. Stay tuned! Best, Tassilo
            Tassilo Weidner made changes -
            Mentioned Roles
            Tassilo Weidner made changes -
            Mentioned Groups
            Tassilo Weidner made changes -
            Mentioned Roles
            Tassilo Weidner made changes -
            Mentioned Groups
            Yana Vasileva made changes -
            Mentioned Roles
            Yana Vasileva made changes -
            Mentioned Groups

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

                Created:
                Updated:
                Resolved: