< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.Hosting.Options.OpenAPIMetadata
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Hosting/Options/OpenApiOptions.cs
Tag: Kestrun/Kestrun@2d87023b37eb91155071c91dd3d6a2eeb3004705
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 28
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 10/13/2025 - 16:52:37 Line coverage: 100% (5/5) Total lines: 28 Tag: Kestrun/Kestrun@10d476bee71c71ad215bb8ab59f219887b5b4a5e

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Summary()100%11100%
get_Description()100%11100%
get_OperationId()100%11100%
get_Tags()100%11100%
get_GroupName()100%11100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Hosting/Options/OpenApiOptions.cs

#LineLine coverage
 1namespace Kestrun.Hosting.Options;
 2
 3/// <summary>
 4/// Metadata for OpenAPI documentation related to the route.
 5/// </summary>
 6public record OpenAPIMetadata
 7{
 8    /// <summary>
 9    /// A brief summary of the route for OpenAPI documentation.
 10    /// </summary>
 4111    public string? Summary { get; set; }
 12    /// <summary>
 13    /// A detailed description of the route for OpenAPI documentation.
 14    /// </summary>
 3715    public string? Description { get; set; }
 16    /// <summary>
 17    /// The unique operation ID for the route in OpenAPI documentation.
 18    /// </summary>
 3919    public string? OperationId { get; set; }
 20    /// <summary>
 21    /// Comma-separated tags for OpenAPI documentation.
 22    /// </summary>
 12323    public string[] Tags { get; set; } = []; // Comma-separated tags
 24    /// <summary>
 25    /// Group name for OpenAPI documentation.
 26    /// </summary>
 3727    public string? GroupName { get; set; } // Group name for OpenAPI documentation
 28}