Skip to content

Commit 41b787e

Browse files
committed
fix: additional format fixes
Signed-off-by: Vincent Biret <[email protected]>
1 parent e3126ad commit 41b787e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ public void CreateParametersReturnsCreatedParameters()
5757
""explode"": false,
5858
""schema"": {
5959
""minimum"": 0,
60-
""type"": ""integer""
60+
""type"": ""number"",
61+
""format"": ""int64""
6162
},
6263
""example"": 50
6364
}";
@@ -75,7 +76,8 @@ public void CreateParametersReturnsCreatedParameters()
7576
""explode"": false,
7677
""schema"": {
7778
""minimum"": 0,
78-
""type"": ""integer""
79+
""type"": ""number"",
80+
""format"": ""int64""
7981
}
8082
}";
8183

0 commit comments

Comments
 (0)