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

JsonSchemaProcessorAttribute

Registers an schema processor for the given class.
using System; namespace NJsonSchema.Annotations { [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public class JsonSchemaProcessorAttribute : Attribute { public Type Type { get; set; } public object[] Parameters { get; set; } public JsonSchemaProcessorAttribute(Type type, params object[] parameters) { Type = type; Parameters = parameters; } } }