Skip to content

Commit edecc35

Browse files
authored
Reflect nullability of Error and endTime (#10262)
1 parent fce6ed2 commit edecc35

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/backuprestore.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,8 @@
337337
"endTime": {
338338
"type": "integer",
339339
"format": "unixtime",
340-
"description": "The end time of the restore operation"
340+
"description": "The end time of the restore operation",
341+
"x-nullable": true
341342
}
342343
},
343344
"description": "Selective Key Restore operation"
@@ -380,7 +381,8 @@
380381
"endTime": {
381382
"type": "integer",
382383
"format": "unixtime",
383-
"description": "The end time of the backup operation in UTC"
384+
"description": "The end time of the backup operation in UTC",
385+
"x-nullable": true
384386
},
385387
"jobId": {
386388
"type": "string",
@@ -419,7 +421,8 @@
419421
"endTime": {
420422
"type": "integer",
421423
"format": "unixtime",
422-
"description": "The end time of the restore operation"
424+
"description": "The end time of the restore operation",
425+
"x-nullable": true
423426
}
424427
},
425428
"description": "Restore operation"

specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/common.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
"$ref": "#/definitions/Error"
6868
}
6969
},
70-
"description": "The key vault server error."
70+
"description": "The key vault server error.",
71+
"x-nullable": true
7172
}
7273
}
7374
}

0 commit comments

Comments
 (0)