Skip to content

Commit

Permalink
WorkflowRegistry doesn't return a PagedList (#4260)
Browse files Browse the repository at this point in the history
* Create WriteWorkflowSuspendExecutionLog.cs

* Fixing build

* WorkflowRegistry doesn't return a PagedList

* Update ListAll.cs

---------

Co-authored-by: Michel van den Berg <michvandenberg@deloitte.nl>
  • Loading branch information
promontis and Michel van den Berg authored Jul 27, 2023
1 parent 612a46b commit e0a6c26
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ public ListAll(IEnumerable<IWorkflowProvider> workflowProviders, ITenantAccessor
}

[HttpGet]
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(PagedList<WorkflowBlueprintSummaryModel>))]
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(List<WorkflowBlueprintSummaryModel>))]
[SwaggerOperation(
Summary = "Returns a list of workflow blueprints.",
Description = "Returns paginated a list of workflow blueprints. When no version options are specified, the latest version is returned.",
Description = "Returns a list of workflow blueprints. When no version options are specified, the latest version is returned.",
OperationId = "WorkflowBlueprints.List",
Tags = new[] { "WorkflowBlueprints" })
]
Expand All @@ -61,4 +61,4 @@ private async IAsyncEnumerable<IWorkflowBlueprint> ListAllAsync(string? tenantId
yield return workflowBlueprint;
}
}
}
}

0 comments on commit e0a6c26

Please sign in to comment.