< Summary

Information
Class: Elsa.Workflows.Api.ApiEndpointOptions
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Options/ApiEndpointOptions.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 9
Line coverage: 100%
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_RoutePrefix()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Options/ApiEndpointOptions.cs

#LineLine coverage
 1namespace Elsa.Workflows.Api;
 2
 3public class ApiEndpointOptions
 4{
 5    /// <summary>
 6    /// The prefix used for API routes.
 7    /// </summary>
 28    public string RoutePrefix { get; set; } = "elsa/api";
 9}

Methods/Properties

get_RoutePrefix()