@class is being shown on process definition statistics api endpoint

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Won't Fix
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: engine
    • None

      When:

      Calling an endpoints such as:
      https://localhost:8080/engine-rest/process-definition/GenUTs:4:fe3819d8-aaa4-11eb-9c96-7603ee83ccb9/statistics?incidents=true
       (including the ones used by Cockpit)

      Then: 
      The @class field is exposed:

       [
      
      { "@class":"org.camunda.bpm.engine.rest.dto.repository.ActivityStatisticsResultDto", "id":"Activity_0lha8wn", "instances":1, "failedJobs":0, "incidents":[] }
      
      ]
      

      Expected:
      The @class field isn't exposed.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Stephen Russett
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: