Skip to content

Commit 3a739ee

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

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

api/openapi-spec/v1.0.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,7 +2127,7 @@ paths:
21272127
example: a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!share-id
21282128
x-ms-docs-key-type: item
21292129
responses:
2130-
"200":
2130+
'200':
21312131
description: Retrieved extensions
21322132
content:
21332133
application/json:
@@ -2151,7 +2151,7 @@ paths:
21512151
default:
21522152
$ref: '#/components/responses/error'
21532153
x-ms-docs-operation-type: operation
2154-
'/v1beta1/drives/{drive-id}/items/{item-id}/extensions/{extensionName}':
2154+
'/v1beta1/drives/{drive-id}/items/{item-id}/extensions/{extension-name}':
21552155
get:
21562156
tags:
21572157
- driveItem.extensions
@@ -2176,15 +2176,15 @@ paths:
21762176
type: string
21772177
example: a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!share-id
21782178
x-ms-docs-key-type: item
2179-
- name: extensionName
2179+
- name: extension-name
21802180
in: path
21812181
description: "The unique name of the extension, using reverse DNS notation (e.g. com.example.myApp)"
21822182
required: true
21832183
schema:
21842184
type: string
21852185
example: com.example.project
21862186
responses:
2187-
"200":
2187+
'200':
21882188
description: Retrieved extension
21892189
content:
21902190
application/json:
@@ -2197,7 +2197,7 @@ paths:
21972197
status: "reviewed"
21982198
assignee: "alice"
21992199
priority: 3
2200-
"404":
2200+
'404':
22012201
$ref: '#/components/responses/error'
22022202
default:
22032203
$ref: '#/components/responses/error'
@@ -2236,7 +2236,7 @@ paths:
22362236
type: string
22372237
example: a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!share-id
22382238
x-ms-docs-key-type: item
2239-
- name: extensionName
2239+
- name: extension-name
22402240
in: path
22412241
description: "The unique name of the extension, using reverse DNS notation (e.g. com.example.myApp)"
22422242
required: true
@@ -2267,13 +2267,13 @@ paths:
22672267
value:
22682268
priority: null
22692269
responses:
2270-
"200":
2270+
'200':
22712271
description: Extension updated
22722272
content:
22732273
application/json:
22742274
schema:
22752275
$ref: '#/components/schemas/openTypeExtension'
2276-
"201":
2276+
'201':
22772277
description: Extension created
22782278
content:
22792279
application/json:
@@ -2308,17 +2308,17 @@ paths:
23082308
type: string
23092309
example: a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!share-id
23102310
x-ms-docs-key-type: item
2311-
- name: extensionName
2311+
- name: extension-name
23122312
in: path
23132313
description: "The unique name of the extension, using reverse DNS notation (e.g. com.example.myApp)"
23142314
required: true
23152315
schema:
23162316
type: string
23172317
example: com.example.project
23182318
responses:
2319-
"204":
2319+
'204':
23202320
description: Extension deleted
2321-
"404":
2321+
'404':
23222322
$ref: '#/components/responses/error'
23232323
default:
23242324
$ref: '#/components/responses/error'
@@ -5807,6 +5807,8 @@ components:
58075807
58085808
Extensions are identified by their `extensionName`, which should follow reverse DNS
58095809
naming conventions (e.g. `com.example.myApp`) to avoid collisions between applications.
5810+
required:
5811+
- extensionName
58105812
properties:
58115813
extensionName:
58125814
type: string

0 commit comments

Comments
 (0)