< Summary

Information
Class: Elsa.Api.Client.Resources.OutputConverters.Models.OutputConverterDescriptor
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/OutputConverters/Models/OutputConverterDescriptor.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%11100%
get_SourceTypeName()100%11100%
get_ResultTypeName()100%11100%
get_DisplayName()100%11100%
get_Description()100%11100%
get_SettingsSchema()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/OutputConverters/Models/OutputConverterDescriptor.cs

#LineLine coverage
 1using System.Text.Json;
 2
 3namespace Elsa.Api.Client.Resources.OutputConverters.Models;
 4
 5/// <summary>
 6/// Describes an output converter that can be selected by a workflow author.
 7/// </summary>
 8public record OutputConverterDescriptor
 9{
 10    /// <summary>
 11    /// The stable public converter identifier.
 12    /// </summary>
 213    public string Id { get; init; } = null!;
 14
 15    /// <summary>
 16    /// The declared source type name supported by the converter.
 17    /// </summary>
 218    public string SourceTypeName { get; init; } = null!;
 19
 20    /// <summary>
 21    /// The declared result type name produced by the converter.
 22    /// </summary>
 223    public string ResultTypeName { get; init; } = null!;
 24
 25    /// <summary>
 26    /// The display name for the converter.
 27    /// </summary>
 128    public string DisplayName { get; init; } = null!;
 29
 30    /// <summary>
 31    /// The optional converter description.
 32    /// </summary>
 133    public string? Description { get; init; }
 34
 35    /// <summary>
 36    /// The optional JSON schema for converter settings.
 37    /// </summary>
 238    public JsonElement? SettingsSchema { get; init; }
 39}