< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.Publish.Response
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Publish/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 10
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_WorkflowDefinition()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowDefinitions/Publish/Models.cs

#LineLine coverage
 1using Elsa.Workflows.Api.Models;
 2
 3namespace Elsa.Workflows.Api.Endpoints.WorkflowDefinitions.Publish;
 4
 5internal class Request
 6{
 7    public string DefinitionId { get; set; } = default!;
 8}
 9
 010internal record Response(LinkedWorkflowDefinitionModel WorkflowDefinition, bool AlreadyPublished, int ConsumingWorkflowC

Methods/Properties

get_WorkflowDefinition()