Skip to content

Commit 0059a6a

Browse files
authored
[synapse] Mark 'sparkJobs' as nullable (#12258)
```System.Text.Json.JsonException : A property 'sparkJobs' defined as non-nullable but received as null from the service. This exception only happens in DEBUG builds of the library and would be ignored in the release build```
1 parent b775c38 commit 0059a6a

File tree

1 file changed

+2
-1
lines changed
  • specification/synapse/data-plane/Microsoft.Synapse/preview/2019-11-01-preview

1 file changed

+2
-1
lines changed

specification/synapse/data-plane/Microsoft.Synapse/preview/2019-11-01-preview/monitoring.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@
129129
"type": "array",
130130
"items": {
131131
"$ref": "#/definitions/SparkJob"
132-
}
132+
},
133+
"x-nullable": true
133134
}
134135
}
135136
},

0 commit comments

Comments
 (0)