Skip to content

Commit

Permalink
[Text Analytics] rename notstarted to notStarted (Azure#11571)
Browse files Browse the repository at this point in the history
* rename notstarted to notStarted

* adding rejected

* fix allof

* fix

* fix

* make results required

* name is optional
  • Loading branch information
deyaaeldeen authored Nov 12, 2020
1 parent cda2c36 commit 5ef5a59
Showing 1 changed file with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1020,10 +1020,11 @@
},
"status": {
"enum": [
"notstarted",
"notStarted",
"running",
"succeeded",
"failed",
"rejected",
"cancelled",
"cancelling"
],
Expand All @@ -1034,7 +1035,6 @@
}
},
"required": [
"name",
"status",
"lastUpdateDateTime"
],
Expand All @@ -1045,11 +1045,11 @@
"tasks": {
"properties": {
"details": {
"properties": {
"allof": {
"$ref": "#/definitions/TaskState"
"allOf": [
{
"$ref": "#/definitions/TaskState"
}
},
],
"type": "object"
},
"completed": {
Expand Down Expand Up @@ -1078,7 +1078,10 @@
"results": {
"$ref": "#/definitions/EntitiesResult"
}
}
},
"required": [
"results"
]
}
]
}
Expand All @@ -1097,7 +1100,10 @@
"results": {
"$ref": "#/definitions/PiiResult"
}
}
},
"required": [
"results"
]
}
]
}
Expand All @@ -1116,7 +1122,10 @@
"results": {
"$ref": "#/definitions/KeyPhraseResult"
}
}
},
"required": [
"results"
]
}
]
}
Expand Down

0 comments on commit 5ef5a59

Please sign in to comment.