Skip to content

Commit fe157cb

Browse files
Fix typo
Co-authored-by: Martin Costello <[email protected]>
1 parent 0bb413e commit fe157cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/upgrade-guide-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The same pattern can be used for `OpenApiStreamReader` and `OpenApiTextReader`.
4242
```
4343
A `ReadResult` object acts as a tuple of `OpenApiDocument` and `OpenApiDiagnostic`.
4444

45-
The challenge with this approach is that the reader classes are not very discoverable and the behaviour is not actually consistent with `*TextReader` pattern that allows incrementally reading the document. This library does not support incrementally reading the OpenAPI Document. It only reads a complete document and returns an `OpenApiDocument` instance.
45+
The challenge with this approach is that the reader classes are not very discoverable and the behaviour is not actually consistent with the `*TextReader` pattern that allows incrementally reading the document. This library does not support incrementally reading the OpenAPI Document. It only reads a complete document and returns an `OpenApiDocument` instance.
4646

4747
In the v2 library we are moving to the pattern used by classes like `XDocument` where a set of static `Load` and `Parse` methods are used as factory methods.
4848

0 commit comments

Comments
 (0)