Skip to content

Commit d7a7c50

Browse files
committed
feat: Update test
1 parent 2a5503c commit d7a7c50

File tree

1 file changed

+1
-8
lines changed
  • test/helper/resources/openapi-3_0-to-3_1/nullable-is-equivalent-to-union-with-null-type

1 file changed

+1
-8
lines changed

test/helper/resources/openapi-3_0-to-3_1/nullable-is-equivalent-to-union-with-null-type/after.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,7 @@
1313
"content": {
1414
"application/json": {
1515
"schema": {
16-
"anyOf": [
17-
{
18-
"type": "string"
19-
},
20-
{
21-
"type": "null"
22-
}
23-
]
16+
"type": ["string", "null"]
2417
}
2518
}
2619
}

0 commit comments

Comments
 (0)