Skip to content

Commit dc71af1

Browse files
committed
chore: updates integration tests
Signed-off-by: Vincent Biret <[email protected]>
1 parent 00d3203 commit dc71af1

File tree

8 files changed

+148
-168
lines changed

8 files changed

+148
-168
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,19 +1025,16 @@
10251025
"@odata.id": {
10261026
"type": "string"
10271027
}
1028-
},
1029-
"additionalProperties": {
1030-
"type": "object"
10311028
}
10321029
},
10331030
"ReferenceNumeric": {
10341031
"type": "string",
1035-
"x-nullable": true,
10361032
"enum": [
10371033
"-INF",
10381034
"INF",
10391035
"NaN"
1040-
]
1036+
],
1037+
"x-nullable": true
10411038
},
10421039
"DefaultNs.Color": {
10431040
"type": "string",

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,6 @@ definitions:
676676
properties:
677677
'@odata.id':
678678
type: string
679-
additionalProperties:
680-
type: object
681679
ReferenceNumeric:
682680
type: string
683681
enum:

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,16 @@
9696
"@odata.id": {
9797
"type": "string"
9898
}
99-
},
100-
"additionalProperties": {
101-
"type": "object"
10299
}
103100
},
104101
"ReferenceNumeric": {
105102
"type": "string",
106-
"x-nullable": true,
107103
"enum": [
108104
"-INF",
109105
"INF",
110106
"NaN"
111-
]
107+
],
108+
"x-nullable": true
112109
}
113110
},
114111
"parameters": {

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ definitions:
6767
properties:
6868
'@odata.id':
6969
type: string
70-
additionalProperties:
71-
type: object
7270
ReferenceNumeric:
7371
type: string
7472
enum:

0 commit comments

Comments
 (0)