From 61ca26912f1b5a0b9caf88773f4cff5341ffa5f0 Mon Sep 17 00:00:00 2001 From: Alex Wichmann Date: Fri, 12 Jan 2024 15:02:38 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fda302e2..fe9189f5 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ There is a nifty helper to add different types of bindings, or like in the examp ```csharp var settings = new AsyncApiReaderSettings(); -settings.Bindings.Add(BindingsCollection.All); +settings.Bindings = BindingsCollection.All; var asyncApiDocument = new AsyncApiStringReader(settings).Read(stream, out var diagnostic); ```