<PackageReference Include="NJsonSchema" Version="10.0.10" />

TypeExtensions

public static class TypeExtensions
Provides extension methods for reading contextual type names and descriptions.
public static string GetDescription(this CachedType type, DescriptionAttributeType attributeType = 0)

Gets the description of the given member (based on the DescriptionAttribute, DisplayAttribute or XML Documentation).

public static string GetDescription(this ContextualParameterInfo parameter)

Gets the description of the given member (based on the DescriptionAttribute, DisplayAttribute or XML Documentation).