mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-11 04:54:17 -05:00
Fix typo (ToJsonSchema)
This commit is contained in:
parent
ec644b635a
commit
ea689a0fe9
|
|
@ -412,7 +412,7 @@ namespace UniJSON
|
|||
f.BeginMap(2);
|
||||
if (!string.IsNullOrEmpty(Title)) { f.Key("title"); f.Value(Title); }
|
||||
if (!string.IsNullOrEmpty(Description)) { f.Key("description"); f.Value(Description); }
|
||||
Validator.ToJsonScheama(f);
|
||||
Validator.ToJsonSchema(f);
|
||||
f.EndMap();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ namespace UniJSON
|
|||
/// <returns></returns>
|
||||
bool FromJsonSchema(IFileSystemAccessor fs, string key, ListTreeNode<JsonValue> value);
|
||||
|
||||
void ToJsonScheama(IFormatter f);
|
||||
void ToJsonSchema(IFormatter f);
|
||||
#endregion
|
||||
|
||||
#region Serializer
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ namespace UniJSON
|
|||
GenericSerializer<T>.Serialize(Items.Validator, f, c, o);
|
||||
}
|
||||
|
||||
public void ToJsonScheama(IFormatter f)
|
||||
public void ToJsonSchema(IFormatter f)
|
||||
{
|
||||
f.Key("type"); f.Value("array");
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace UniJSON
|
|||
return false;
|
||||
}
|
||||
|
||||
public void ToJsonScheama(IFormatter f)
|
||||
public void ToJsonSchema(IFormatter f)
|
||||
{
|
||||
f.Key("type"); f.Value("boolean");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ namespace UniJSON
|
|||
return false;
|
||||
}
|
||||
|
||||
public void ToJsonScheama(IFormatter f)
|
||||
public void ToJsonSchema(IFormatter f)
|
||||
{
|
||||
f.Key("type"); f.Value("object");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ namespace UniJSON
|
|||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void ToJsonScheama(IFormatter f)
|
||||
public void ToJsonSchema(IFormatter f)
|
||||
{
|
||||
f.Key("type"); f.Value("string");
|
||||
f.Key("enum");
|
||||
|
|
@ -392,7 +392,7 @@ namespace UniJSON
|
|||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void ToJsonScheama(IFormatter f)
|
||||
public void ToJsonSchema(IFormatter f)
|
||||
{
|
||||
f.Key("type"); f.Value("integer");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ namespace UniJSON
|
|||
return false;
|
||||
}
|
||||
|
||||
public void ToJsonScheama(IFormatter f)
|
||||
public void ToJsonSchema(IFormatter f)
|
||||
{
|
||||
f.Key("type"); f.Value("integer");
|
||||
if (Minimum.HasValue)
|
||||
|
|
@ -326,7 +326,7 @@ namespace UniJSON
|
|||
return false;
|
||||
}
|
||||
|
||||
public void ToJsonScheama(IFormatter f)
|
||||
public void ToJsonSchema(IFormatter f)
|
||||
{
|
||||
f.Key("type"); f.Value("number");
|
||||
if (Minimum.HasValue)
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ namespace UniJSON
|
|||
return false;
|
||||
}
|
||||
|
||||
public void ToJsonScheama(IFormatter f)
|
||||
public void ToJsonSchema(IFormatter f)
|
||||
{
|
||||
f.Key("type"); f.Value("object");
|
||||
if (Properties.Count > 0)
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ namespace UniJSON
|
|||
return false;
|
||||
}
|
||||
|
||||
public void ToJsonScheama(IFormatter f)
|
||||
public void ToJsonSchema(IFormatter f)
|
||||
{
|
||||
f.Key("type"); f.Value("string");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user