Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong type information in schemas #185

Open
fpesari opened this issue Jul 27, 2024 · 0 comments
Open

Wrong type information in schemas #185

fpesari opened this issue Jul 27, 2024 · 0 comments

Comments

@fpesari
Copy link

fpesari commented Jul 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant