Skip to content

Commit 9eb14fd

Browse files
MohamedKamal000gregsdennis
authored andcommitted
docs(schema/serialization): change JsonSchemaType to SchemaValueType
1 parent 1f24bb1 commit 9eb14fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_docs/schema/serialization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ public static class Schemas
110110
{
111111
public static JsonSchema MyModelSchema =
112112
new JsonSchemaBuilder()
113-
.Type(JsonSchemaType.Object)
113+
.Type(SchemaValueType.Object)
114114
.Properties(
115115
(nameof(MyModel.Foo), new JsonSchemaBuilder()
116-
.Type(JsonSchemaType.String)
116+
.Type(SchemaValueType.String)
117117
.MinLength(10)
118118
.MaxLength(50)
119119
)

0 commit comments

Comments
 (0)