Skip to content

Commit 35afc9a

Browse files
committed
fix: copilot review findings
1 parent a225063 commit 35afc9a

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

api/openapi-spec/v1.0.yaml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,18 @@ paths:
12071207
example: a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!share-id
12081208
x-ms-docs-key-type: item
12091209
- $ref: '#/components/parameters/driveItemSelect'
1210+
- name: $expand
1211+
in: query
1212+
description: Expand related entities
1213+
style: form
1214+
explode: false
1215+
schema:
1216+
uniqueItems: true
1217+
type: array
1218+
items:
1219+
enum:
1220+
- extensions
1221+
type: string
12101222
responses:
12111223
"200":
12121224
description: Retrieved driveItem
@@ -2186,7 +2198,7 @@ paths:
21862198
assignee: "alice"
21872199
priority: 3
21882200
"404":
2189-
description: Extension not found
2201+
$ref: '#/components/responses/error'
21902202
default:
21912203
$ref: '#/components/responses/error'
21922204
x-ms-docs-operation-type: operation
@@ -2232,7 +2244,11 @@ paths:
22322244
type: string
22332245
example: com.example.project
22342246
requestBody:
2235-
description: Extension properties to set. Use `null` values to remove individual properties.
2247+
description: |
2248+
Extension properties to set. Use `null` values to remove individual properties.
2249+
2250+
The `extensionName` is derived from the URL path parameter and must not be included
2251+
in the request body. If present, it will be ignored.
22362252
required: true
22372253
content:
22382254
application/json:
@@ -2303,7 +2319,7 @@ paths:
23032319
"204":
23042320
description: Extension deleted
23052321
"404":
2306-
description: Extension not found
2322+
$ref: '#/components/responses/error'
23072323
default:
23082324
$ref: '#/components/responses/error'
23092325
x-ms-docs-operation-type: operation

0 commit comments

Comments
 (0)