Skip to content

Commit

Permalink
[Synapse] Fix for parameter in Notebook activity (Azure#16852)
Browse files Browse the repository at this point in the history
* fix for notebook activity parameter

* remove required property
  • Loading branch information
wanyang7 authored Dec 1, 2021
1 parent 18225cd commit 3c5135f
Showing 1 changed file with 33 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3795,6 +3795,35 @@
"modelAsString": true
}
},
"NotebookParameter": {
"description": "Notebook parameter.",
"type": "object",
"properties": {
"value": {
"type": "object",
"description": "Notebook parameter value. Type: string (or Expression with resultType string).",
"x-nullable": true
},
"type": {
"description": "Notebook parameter type.",
"$ref": "#/definitions/NotebookParameterType"
}
}
},
"NotebookParameterType": {
"description": "Notebook parameter type.",
"type": "string",
"enum": [
"string",
"int",
"float",
"bool"
],
"x-ms-enum": {
"name": "NotebookParameterType",
"modelAsString": true
}
},
"CopySink": {
"discriminator": "type",
"description": "A copy activity sink.",
Expand Down Expand Up @@ -7181,7 +7210,10 @@
},
"parameters": {
"description": "Notebook parameters.",
"$ref": "../artifacts.json#/definitions/ParameterValueSpecification"
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/NotebookParameter"
}
}
},
"required": [
Expand Down

0 comments on commit 3c5135f

Please sign in to comment.