private GetType ( NJsonSchema.JsonSchema4 schema, bool isNullable, string typeNameHint ) : string | ||
schema | NJsonSchema.JsonSchema4 | |
isNullable | bool | |
typeNameHint | string | |
return | string |
internal override string GetType(JsonSchema4 schema, bool isNullable, string typeNameHint)
{
if (schema == null)
return "void";
if (schema.ActualSchema.Type == JsonObjectType.File)
return "any";
if (schema.ActualSchema.IsAnyType || schema.ActualSchema.Type == JsonObjectType.File)
return "any";
return _resolver.Resolve(schema.ActualSchema, isNullable, typeNameHint);
}