< 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@ca54e35c77799b76774b3805b6f075cdbc0c5fbe
Line coverage
0%
Covered lines: 0
Uncovered lines: 10
Coverable lines: 10
Total lines: 39
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/27/2025 - 20:05:22 Line coverage: 0% (0/10) Total lines: 39 Tag: Kestrun/Kestrun@dec745d62965b14e1ed62c0f3ec815e60e53366f

Metrics

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

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>
 010    public string? Expression { get; init; }
 11    /// <inheritdoc/>
 012    public string? HttpVerb { get; set; }
 13
 14    /// <inheritdoc/>
 015    public string? Pattern { get; init; }
 16
 17    /// <inheritdoc/>
 018    public string? Summary { get; set; }
 19
 20    /// <inheritdoc/>
 021    public string? Description { get; set; }
 22
 23    /// <inheritdoc/>
 024    public string? OperationId { get; set; }
 25
 26    /// <inheritdoc/>
 027    public string[] Tags { get; set; } = [];
 28
 29    /// <inheritdoc/>
 030    public bool Deprecated { get; set; }
 31
 32    /// <inheritdoc/>
 033    public string[]? DocumentId { get; set; }
 34
 35    /// <summary>
 36    /// Indicates whether the callback should be inlined within the parent OpenAPI document.
 37    /// </summary>
 038    public bool Inline { get; set; }
 39}