Skip to content
Merged
Prev Previous commit
Next Next commit
add cleanUpSteps & remove type
  • Loading branch information
leniatgh committed Aug 18, 2021
commit 0e7751aaf5eb0ab73b8b579ada586535c1747795
40 changes: 13 additions & 27 deletions documentation/test-scenario/references/v1.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
"items": {
"$ref": "#/definitions/TestScenario"
}
},
"cleanUpSteps":{
"type": "array",
"items": {
"$ref": "#/definitions/TestStep"
}
}
},
"required": [
Expand Down Expand Up @@ -80,7 +86,7 @@
"step": {
"$ref": "#/definitions/Name"
},
"type": {
"description": {
"type": "string"
},
"outputVariables": {
Expand All @@ -107,12 +113,6 @@
}
],
"properties": {
"type": {
"type": "string",
"enum": [
"basic"
]
},
"exampleFile": {
"type": "string"
},
Expand Down Expand Up @@ -154,12 +154,6 @@
}
],
"properties": {
"type": {
"type": "string",
"enum": [
"operation"
]
},
"operationId": {
"type": "string"
},
Expand Down Expand Up @@ -202,12 +196,6 @@
}
],
"properties": {
"type": {
"type": "string",
"enum": [
"armTemplate"
]
},
"armTemplateDeployment": {
"type": "string"
},
Expand All @@ -227,12 +215,6 @@
}
],
"properties": {
"type": {
"type": "string",
"enum": [
"rawCall"
]
},
"method": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -404,6 +386,9 @@
}
],
"properties": {
"scenario": {
"$ref": "#/definitions/Name"
},
"description": {
"type": "string"
},
Expand All @@ -415,9 +400,10 @@
}
},
"required": [
"description",
"scenario",
"steps"
]
],
"additionalProperties": false
}
}
}