Home ITypeNameGenerator Interface
ITypeNameGenerator Interface
Cancel

ITypeNameGenerator Interface

Namespace: Json.Schema.Generation

Inheritance: ITypeNameGenerator

Allows custom $defs key naming functionality.

Methods

GenerateName(Type type)

Generates a $defs key for a type.

Declaration

1
public abstract string GenerateName(Type type)
ParameterTypeDescription
typeTypeThe type.

Returns

A string to use for the type; null to use the library-provided behavior.

Contents