Skip to content

Commit

Permalink
Synapse Spark API updates (#11938)
Browse files Browse the repository at this point in the history
* Modify spark swagger based on api review

* Modify more spark swagger based on api review

* Clean up empty spaces

* Clean up more white space

* Add description to msg

* Lizy -> Livy

* Remove x-ms-pageable from sparkJob.json

* Revert listXX names to getXX for non-pageable ops
  • Loading branch information
jianghaolu authored Jan 6, 2021
1 parent a5dcb30 commit 50b8835
Showing 1 changed file with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"description": "Livy compatible batch job request payload.",
"required": true,
"schema": {
"$ref": "#/definitions/sparkBatchJobOptions"
"$ref": "#/definitions/SparkBatchJobOptions"
}
}
],
Expand Down Expand Up @@ -980,7 +980,7 @@
}
}
},
"sparkBatchJobOptions": {
"SparkBatchJobOptions": {
"type": "object",
"properties": {
"tags": {
Expand Down Expand Up @@ -1435,7 +1435,25 @@
],
"x-ms-enum": {
"name": "SparkStatementLanguageType",
"modelAsString": true
"modelAsString": true,
"values": [
{
"name": "Spark",
"value": "spark"
},
{
"name": "PySpark",
"value": "pyspark"
},
{
"name": "DotnetSpark",
"value": "dotnetspark"
},
{
"name": "Sql",
"value": "sql"
}
]
},
"type": "string"
}
Expand All @@ -1445,7 +1463,9 @@
"type": "object",
"properties": {
"msg": {
"type": "string"
"type": "string",
"x-ms-client-name": "message",
"description": "The msg property from the Livy API. The value is always \"canceled\"."
}
}
}
Expand Down

0 comments on commit 50b8835

Please sign in to comment.