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

JsonSchemaFlattenAttribute

Annotation to merge all inherited properties into this class/schema.
using System; namespace NJsonSchema.Annotations { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)] public class JsonSchemaFlattenAttribute : Attribute { public bool Flatten { get; } public JsonSchemaFlattenAttribute() { Flatten = true; } public JsonSchemaFlattenAttribute(bool flatten) { Flatten = flatten; } } }