Skip to content

Commit

Permalink
enhancement bcherny#543 -- unitTest
Browse files Browse the repository at this point in the history
Created new test case
  • Loading branch information
TheoAnastasiadis committed Jan 25, 2024
1 parent 01470b6 commit 4d3945b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions test/normalizer/renamePrefixItemsToItems.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Rename prefixItems to items and items to additionalItems",
"in": {
"additionalProperties": false,
"$id": "RenamePrefixItems",
"properties":{
"a": {
"description": "Test prefixItems",
"prefixItems": [true, false],
"items":false
}
},
"required": []
},
"out": {
"additionalProperties": false,
"$id": "RenamePrefixItems",
"properties": {
"a": {
"description": "Test prefixItems",
"items": [true, false],
"additionalItems": false,
"minItems": 0
}
},
"required": []
},
"options": {
"usePrefixItems": true
}
}

0 comments on commit 4d3945b

Please sign in to comment.