IReflectionService
Provides methods to reflect on types.
Converts an enum value to a JSON string.
void GenerateProperties(JsonSchema schema, ContextualType contextualType, JsonSchemaGeneratorSettings settings, JsonSchemaGenerator schemaGenerator, JsonSchemaResolver schemaResolver)
Generates the properties for the given type.
JsonTypeDescription GetDescription(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling, JsonSchemaGeneratorSettings settings)
Creates a JsonTypeDescription from a Type.
JsonTypeDescription GetDescription(ContextualType contextualType, JsonSchemaGeneratorSettings settings)
Creates a JsonTypeDescription from a Type.
Gets the property name for the given accessor info.
bool IsNullable(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling)
Checks whether a type is nullable.
Checks whether the give type is a string enum.