Skip to content

Commit e4c1862

Browse files
committed
fix: adds missing type v2 test documents
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
1 parent c53ed52 commit e4c1862

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,13 +1309,15 @@
13091309
"in": "path",
13101310
"name": "lat",
13111311
"required": true,
1312-
"format": "double"
1312+
"format": "double",
1313+
"type": "number"
13131314
},
13141315
{
13151316
"in": "path",
13161317
"name": "lon",
13171318
"required": true,
1318-
"format": "double"
1319+
"format": "double",
1320+
"type": "number"
13191321
}
13201322
],
13211323
"responses": {

test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,10 +863,12 @@ paths:
863863
- in: path
864864
name: lat
865865
required: true
866+
type: number
866867
format: double
867868
- in: path
868869
name: lon
869870
required: true
871+
type: number
870872
format: double
871873
responses:
872874
'200':

0 commit comments

Comments
 (0)