Skip to content

Commit 908a684

Browse files
committed
chore: fix failing test
1 parent d40746c commit 908a684

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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
{

0 commit comments

Comments
 (0)