< Summary - Kestrun — Combined Coverage

Information
Class: OpenApiCallbackAttribute
Assembly: Kestrun.Annotations
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun.Annotations/OpenApi/Paths/OpenApiCallback.cs
Tag: Kestrun/Kestrun@476fba12d8b4c7db258e9ff68fad76f0d7e4e042
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 39
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/10) Total lines: 39 Tag: Kestrun/Kestrun@dec745d62965b14e1ed62c0f3ec815e60e53366f03/26/2026 - 03:54:59 Line coverage: 100% (10/10) Total lines: 39 Tag: Kestrun/Kestrun@844b5179fb0492dc6b1182bae3ff65fa7365521d

Coverage delta

Coverage delta 100 -100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Expression()100%11100%
get_HttpVerb()100%11100%
get_Pattern()100%11100%
get_Summary()100%11100%
get_Description()100%11100%
get_OperationId()100%11100%
get_Tags()100%11100%
get_Deprecated()100%11100%
get_DocumentId()100%11100%
get_Inline()100%11100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun.Annotations/OpenApi/Paths/OpenApiCallback.cs

#LineLine coverage
 1/// <summary>
 2/// Specifies OpenAPI callback metadata for a Kestrun function.
 3/// </summary>
 4[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
 5public sealed class OpenApiCallbackAttribute : KestrunAnnotation, IOpenApiPathAttribute
 6{
 7    /// <summary>
 8    /// The callback expression for the OpenAPI callback object.
 9    /// </summary>
 610    public string? Expression { get; init; }
 11    /// <inheritdoc/>
 412    public string? HttpVerb { get; set; }
 13
 14    /// <inheritdoc/>
 415    public string? Pattern { get; init; }
 16
 17    /// <inheritdoc/>
 218    public string? Summary { get; set; }
 19
 20    /// <inheritdoc/>
 221    public string? Description { get; set; }
 22
 23    /// <inheritdoc/>
 224    public string? OperationId { get; set; }
 25
 26    /// <inheritdoc/>
 427    public string[] Tags { get; set; } = [];
 28
 29    /// <inheritdoc/>
 230    public bool Deprecated { get; set; }
 31
 32    /// <inheritdoc/>
 233    public string[]? DocumentId { get; set; }
 34
 35    /// <summary>
 36    /// Indicates whether the callback should be inlined within the parent OpenAPI document.
 37    /// </summary>
 238    public bool Inline { get; set; }
 39}