< Summary

Information
Class: Elsa.Http.HttpEndpointOptions
Assembly: Elsa.Http
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Http/Models/HttpEndpointOptions.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 13
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_Path()100%11100%
get_Methods()100%11100%
get_Authorize()100%11100%
get_Policy()100%11100%
get_RequestTimeout()100%11100%
get_RequestSizeLimit()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Http/Models/HttpEndpointOptions.cs

#LineLine coverage
 1using Microsoft.AspNetCore.Http;
 2
 3namespace Elsa.Http;
 4
 5public class HttpEndpointOptions
 6{
 4427    public string Path { get; set; } = null!;
 4428    public ICollection<string> Methods { get; set; } = [HttpMethods.Get];
 69    public bool Authorize { get; set; }
 610    public string? Policy { get; set; }
 611    public TimeSpan? RequestTimeout { get; set; }
 612    public long? RequestSizeLimit { get; set; }
 13}