Skip to content

Commit 8370b98

Browse files
committed
Fix linting errors
1 parent cd7278b commit 8370b98

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

api-spec/components/schemas/extensions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ properties:
4242
}
4343
```
4444
type: boolean
45-
x`-collection: directus_extensions
45+
x-collection: directus_extensions

api-spec/paths/items/_collection/deleteItems.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ requestBody:
2121
type: string
2222
- type: object
2323
description: Object containing either `keys` or `query` to selected what items to update.
24-
data:
24+
properties:
2525
keys:
26+
type: array
27+
items:
28+
type: string
2629
items:
30+
type: object
2731
responses:
2832
'204':
2933
description: The resource was deleted successfully.

api-spec/paths/permissions/me/_collection/_id/getItemPermissions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ responses:
1616
application/json:
1717
examples:
1818
collection:
19-
data:
19+
value:
2020
update:
2121
access: boolean
2222
delete:
2323
access: boolean
2424
share:
2525
access: boolean
2626
singleton:
27-
data:
27+
value:
2828
update:
2929
access: boolean
3030
presets: permission_presets

api-spec/paths/permissions/me/getUserPermissions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ description: |
88
operationId: getUserPermissions
99
responses:
1010
'200':
11-
description: The request was
11+
description: The request was successful.
1212
content:
1313
application/json:
1414
examples:
1515
example:
16-
data:
16+
value:
1717
"<collection>":
1818
create:
1919
access: "none | partial | full"

0 commit comments

Comments
 (0)