Table of Contents

Method GenerateSchema

Namespace
GrindFest
Assembly
GrindFest.dll

GenerateSchema<T>()

public static string GenerateSchema<T>()

Returns

string

Type Parameters

T

GenerateSchema(Type)

public static string GenerateSchema(Type type)

Parameters

type Type

Returns

string

GenerateSchema(Type, Dictionary<string, string[]>)

Generate schema with dynamic enum values for specific properties

public static string GenerateSchema(Type type, Dictionary<string, string[]> dynamicEnums)

Parameters

type Type

The type to generate schema for

dynamicEnums Dictionary<string, string[]>

Dictionary mapping property names to their allowed enum values

Returns

string

JSON schema string