Method GenerateSchema
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
GenerateSchema<T>()
public static string GenerateSchema<T>()
Returns
Type Parameters
T
GenerateSchema(Type)
public static string GenerateSchema(Type type)
Parameters
type
Type
Returns
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
TypeThe type to generate schema for
dynamicEnums
Dictionary<string, string[]>Dictionary mapping property names to their allowed enum values
Returns
- string
JSON schema string