< Summary - Kestrun — Combined Coverage

Information
Class: OpenApiResponseHeaderRefAttribute
Assembly: Kestrun.Annotations
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun.Annotations/OpenApi/Attributes/OpenApiResponseHeaderRefAttribute.cs
Tag: Kestrun/Kestrun@ca54e35c77799b76774b3805b6f075cdbc0c5fbe
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 21
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

Coverage history

Coverage history 0 25 50 75 100 12/25/2025 - 19:20:44 Line coverage: 0% (0/4) Total lines: 21 Tag: Kestrun/Kestrun@5251f12f253e29f8a1dfb77edc2ef50b90a4f26f

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_StatusCode()100%210%
get_Key()100%210%
get_ReferenceId()100%210%
get_Inline()100%210%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun.Annotations/OpenApi/Attributes/OpenApiResponseHeaderRefAttribute.cs

#LineLine coverage
 1[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
 2public sealed class OpenApiResponseHeaderRefAttribute : KestrunAnnotation, IOpenApiResponseHeaderAttribute
 3{
 4    /// <inheritdoc/>
 05    public string StatusCode { get; set; } = "default";
 6
 7    /// <summary>
 8    /// The local name under components.headers.
 9    /// </summary>
 010    public required string Key { get; set; }
 11
 12    /// <summary>
 13    /// The reference ID under components.headers.
 14    /// </summary>
 015    public required string ReferenceId { get; set; }
 16
 17    /// <summary>
 18    /// If true, the schema will be inlined rather than referenced.
 19    /// </summary>
 020    public bool Inline { get; set; }
 21}