Skip to content

Commit

Permalink
schemas/tests: Allow expect_return_code to be a list of integers (#2769)
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar authored Jan 11, 2025
1 parent 347c426 commit a1120f3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion schemas/tests.v1.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,17 @@
"type": "string"
},
"expect_return_code": {
"type": "integer"
"anyOf": [
{
"type": "integer"
},
{
"type": "array",
"items": {
"type": "integers"
}
}
]
},
"expect_effective_url": {
"type": "string",
Expand Down

0 comments on commit a1120f3

Please sign in to comment.