We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda0fe4 commit 62b7e63Copy full SHA for 62b7e63
src/Microsoft.OpenApi.Readers/OpenApiStreamReader.cs
@@ -45,7 +45,7 @@ public OpenApiDocument Read(Stream input, out OpenApiDiagnostic diagnostic)
45
/// <param name="version">Version of the OpenAPI specification that the fragment conforms to.</param>
46
/// <param name="diagnostic">Returns diagnostic object containing errors detected during parsing</param>
47
/// <returns>Instance of newly created OpenApiDocument</returns>
48
- public T ReadFragment<T>(Stream input, OpenApiSpecVersion version, out OpenApiDiagnostic diagnostic) where T : IOpenApiElement
+ public T ReadFragment<T>(Stream input, OpenApiSpecVersion version, out OpenApiDiagnostic diagnostic) where T : IOpenApiReferenceable
49
{
50
using (var reader = new StreamReader(input))
51
0 commit comments