Skip to content

Commit bbde4e6

Browse files
committed
feat: add encrypted field to FilePartsUpdate model and OpenAPI specifications
1 parent 12a5dc0 commit bbde4e6

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

openapi/openapi.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2964,6 +2964,10 @@
29642964
},
29652965
"description": "File parts"
29662966
},
2967+
"encrypted": {
2968+
"type": "boolean",
2969+
"description": "Indicates if the part is encrypted"
2970+
},
29672971
"size": {
29682972
"type": "integer",
29692973
"format": "int64",

openapi/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,6 +1885,9 @@ components:
18851885
items:
18861886
$ref: '#/components/schemas/Part'
18871887
description: File parts
1888+
encrypted:
1889+
type: boolean
1890+
description: Indicates if the part is encrypted
18881891
size:
18891892
type: integer
18901893
format: int64

typespec/main.tsp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,9 @@ model FilePartsUpdate {
405405
@doc("File parts")
406406
parts?: Part[];
407407

408+
@doc("Indicates if the part is encrypted")
409+
encrypted?: boolean;
410+
408411
@doc("File size in bytes")
409412
@example(1048576)
410413
size: int64;

0 commit comments

Comments
 (0)