Skip to content

Commit d0030a4

Browse files
authored
fix: copilot review findings
1 parent 4f2d978 commit d0030a4

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
@@ -2068,7 +2068,7 @@ paths:
20682068
example: a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!share-id
20692069
x-ms-docs-key-type: item
20702070
responses:
2071-
"200":
2071+
'200':
20722072
description: Retrieved extensions
20732073
content:
20742074
application/json:
@@ -2092,7 +2092,7 @@ paths:
20922092
default:
20932093
$ref: '#/components/responses/error'
20942094
x-ms-docs-operation-type: operation
2095-
'/v1beta1/drives/{drive-id}/items/{item-id}/extensions/{extensionName}':
2095+
'/v1beta1/drives/{drive-id}/items/{item-id}/extensions/{extension-name}':
20962096
get:
20972097
tags:
20982098
- driveItem.extensions
@@ -2117,15 +2117,15 @@ paths:
21172117
type: string
21182118
example: a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!share-id
21192119
x-ms-docs-key-type: item
2120-
- name: extensionName
2120+
- name: extension-name
21212121
in: path
21222122
description: "The unique name of the extension, using reverse DNS notation (e.g. com.example.myApp)"
21232123
required: true
21242124
schema:
21252125
type: string
21262126
example: com.example.project
21272127
responses:
2128-
"200":
2128+
'200':
21292129
description: Retrieved extension
21302130
content:
21312131
application/json:
@@ -2138,7 +2138,7 @@ paths:
21382138
status: "reviewed"
21392139
assignee: "alice"
21402140
priority: 3
2141-
"404":
2141+
'404':
21422142
$ref: '#/components/responses/error'
21432143
default:
21442144
$ref: '#/components/responses/error'
@@ -2177,7 +2177,7 @@ paths:
21772177
type: string
21782178
example: a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!share-id
21792179
x-ms-docs-key-type: item
2180-
- name: extensionName
2180+
- name: extension-name
21812181
in: path
21822182
description: "The unique name of the extension, using reverse DNS notation (e.g. com.example.myApp)"
21832183
required: true
@@ -2208,13 +2208,13 @@ paths:
22082208
value:
22092209
priority: null
22102210
responses:
2211-
"200":
2211+
'200':
22122212
description: Extension updated
22132213
content:
22142214
application/json:
22152215
schema:
22162216
$ref: '#/components/schemas/openTypeExtension'
2217-
"201":
2217+
'201':
22182218
description: Extension created
22192219
content:
22202220
application/json:
@@ -2249,17 +2249,17 @@ paths:
22492249
type: string
22502250
example: a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!share-id
22512251
x-ms-docs-key-type: item
2252-
- name: extensionName
2252+
- name: extension-name
22532253
in: path
22542254
description: "The unique name of the extension, using reverse DNS notation (e.g. com.example.myApp)"
22552255
required: true
22562256
schema:
22572257
type: string
22582258
example: com.example.project
22592259
responses:
2260-
"204":
2260+
'204':
22612261
description: Extension deleted
2262-
"404":
2262+
'404':
22632263
$ref: '#/components/responses/error'
22642264
default:
22652265
$ref: '#/components/responses/error'
@@ -5738,6 +5738,8 @@ components:
57385738
57395739
Extensions are identified by their `extensionName`, which should follow reverse DNS
57405740
naming conventions (e.g. `com.example.myApp`) to avoid collisions between applications.
5741+
required:
5742+
- extensionName
57415743
properties:
57425744
extensionName:
57435745
type: string

0 commit comments

Comments
 (0)