Skip to content

Commit c336ed8

Browse files
authored
Update README.md
1 parent 4f1edc3 commit c336ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ There is a nifty helper to add different types of bindings, or like in the examp
8484

8585
```csharp
8686
var settings = new AsyncApiReaderSettings();
87-
settings.Bindings.Add(BindingsCollection.All);
87+
settings.Bindings = BindingsCollection.All;
8888
var asyncApiDocument = new AsyncApiStringReader(settings).Read(stream, out var diagnostic);
8989
```
9090

0 commit comments

Comments
 (0)