From ae1f8eec110f752f64cecd216e53799d43166380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Larch?= Date: Thu, 3 Oct 2024 19:34:01 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55be730..d0d17d8 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ var jsonOptions = new JsonSerializerOptions(JsonSerializerDefaults.Web) { var options = new JsonSchemaOptions(SchemaDefaults.OpenAi, jsonOptions); var resolver = new DefaultSchemaGenerator(); -var schema = resolver.Generate(type, options); +var schema = resolver.Generate(options); var json = schema.ToJsonNode().ToJsonString(new JsonSerializerOptions() { WriteIndented = true }); output.WriteLine(json);