< Summary - Kestrun — Combined Coverage

Information
Class: OpenApiCallbackRefAttribute
Assembly: Kestrun.Annotations
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun.Annotations/OpenApi/Attributes/OpenApiCallbackRefAttribute.cs
Tag: Kestrun/Kestrun@476fba12d8b4c7db258e9ff68fad76f0d7e4e042
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 18
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

Coverage history

Coverage history 0 25 50 75 100 12/27/2025 - 20:05:22 Line coverage: 0% (0/3) Total lines: 18 Tag: Kestrun/Kestrun@dec745d62965b14e1ed62c0f3ec815e60e53366f03/26/2026 - 03:54:59 Line coverage: 100% (3/3) Total lines: 18 Tag: Kestrun/Kestrun@844b5179fb0492dc6b1182bae3ff65fa7365521d

Coverage delta

Coverage delta 100 -100

Metrics

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

File(s)

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

#LineLine coverage
 1[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
 2public sealed class OpenApiCallbackRefAttribute : KestrunAnnotation
 3{
 4    /// <summary>
 5    /// The local name under callbacks
 6    /// </summary>
 37    public required string Key { get; set; }
 8
 9    /// <summary>
 10    /// The components/callbacks id (the ID of the callback component to reference).
 11    /// </summary>
 912    public required string ReferenceId { get; set; }
 13
 14    /// <summary>
 15    /// If true, the callback will be inlined rather than referenced.
 16    /// </summary>
 417    public bool Inline { get; set; }
 18}