Skip to content

Wrong type information in schemas #185

@fpesari

Description

@fpesari

Hello,

type information in schemas seems to default to string even when the provided example uses other types. An example, from the 200 OK response to POST /API/bpm/manualTask:

{
  "displayDescription": "This is my subtask",
  "executedBySubstitute": 1,
  "processId": 8367255255370238000,
  "parentCaseId": 1,
  "state": "ready",
  "rootContainerId": 1,
  "type": "MANUAL_TASK",
  "assigned_id": 1,
  "assigned_date": "2014-12-01 17:39:53.784",
  "id": 40006,
  "executedBy": 1,
  "caseId": 1,
  "priority": "above_normal",
  "actorId": 1,
  "description": "This is my subtask",
  "name": "My subtask",
  "reached_state_date": "2014-12-01 17:39:53.784",
  "rootCaseId": 1,
  "displayName": "My subtask",
  "parentTaskId": 40001,
  "dueDate": "2014-12-25 00:00:00.000",
  "last_update_date": "2014-12-01 17:39:53.784"
}

But the schema for ManualTask linked to that example is defined like this (extract, but it's all strings):

Screenshot 2024-07-27 at 08-39-51 SwaggerEditor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions