Skip to content

Commit caa2055

Browse files
Merge pull request #672 from microsoft/chore/implement-to-do-task
fix: bump oai version
2 parents 1deec06 + 908a684 commit caa2055

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3030
</PackageReference>
3131
<PackageReference Include="Microsoft.OData.Edm" Version="8.2.3" />
32-
<PackageReference Include="Microsoft.OpenApi" Version="2.0.0-preview.14" />
32+
<PackageReference Include="Microsoft.OpenApi" Version="2.0.0-preview.15" />
3333
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
3434
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.13.61">
3535
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiSchemaGeneratorTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -978,8 +978,9 @@ public async Task CreatePropertySchemaWithComputedAnnotationReturnsCorrectSchema
978978
""format"": ""duration"",
979979
""description"": ""The length of the appointment, denoted in ISO8601 format."",
980980
""pattern"": ""^-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+([.][0-9]+)?S)?)?$"",
981-
""type"": ""string""
982-
}"), json)); // TODO FIXME after resolution of https://github.com/microsoft/OpenAPI.NET/issues/2272
981+
""type"": ""string"",
982+
""readOnly"": true
983+
}"), json));
983984
}
984985
else
985986
{

test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
8989
<PrivateAssets>all</PrivateAssets>
9090
</PackageReference>
91-
<PackageReference Include="Microsoft.OpenApi" Version="2.0.0-preview.14" />
91+
<PackageReference Include="Microsoft.OpenApi" Version="2.0.0-preview.15" />
9292
<PackageReference Include="moq" Version="4.20.72" />
9393
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
9494
<PackageReference Include="xunit" Version="2.9.3" />

0 commit comments

Comments
 (0)