< Summary - Kestrun — Combined Coverage

Information
Class: OpenApiParameterRefAttribute
Assembly: Kestrun.Annotations
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun.Annotations/OpenApi/Attributes/OpenApiParameterRefAttribute.cs
Tag: Kestrun/Kestrun@0d738bf294e6281b936d031e1979d928007495ff
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 28
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/12/2025 - 17:27:19 Line coverage: 0% (0/4) Total lines: 28 Tag: Kestrun/Kestrun@826bf9dcf9db118c5de4c78a3259bce9549f0dcd

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Name()100%210%
get_ReferenceId()100%210%
get_Description()100%210%
get_Inline()100%210%

File(s)

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

#LineLine coverage
 1/// <summary>
 2/// Place on a property or field to indicate it is a parameter reference.
 3/// </summary>
 4/// <param name="name">The name of the parameter.</param>
 5/// <param name="referenceId">The components/parameters id.</param>
 6[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)]
 7public sealed class OpenApiParameterRefAttribute : KestrunAnnotation
 8{
 9    /// <summary>
 10    /// The name of the parameter.
 11    /// </summary>
 012    public required string Name { get; set; }
 13
 14    /// <summary>
 15    /// The reference ID under components/parameters.
 16    /// </summary>
 017    public required string ReferenceId { get; set; }
 18
 19    /// <summary>
 20    /// Description of the response reference.
 21    /// </summary>
 022    public string? Description { get; set; }
 23
 24    /// <summary>
 25    /// If true, the schema will be inlined rather than referenced.
 26    /// </summary>
 027    public bool Inline { get; set; }
 28}