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

NullHandling

public enum NullHandling
Defines how to express the nullability of a property.

Uses oneOf with null schema and null type to express the nullability of a property (valid JSON Schema draft v4).

Swagger = 1

Uses required to express the nullability of a property (not valid in JSON Schema draft v4).