Files
directus/packages/specs/src/components/folder.yaml
Pascal Jufer 1dd6da2aa9 Fix OpenAPI specs (#6179)
* Unique operationIds for users/me methods

* Fix specs for /users/invite/accept and rename files

* Add missing parameters definition for /utils/sort

* Add .yaml to lint-staged and format cmd

* Format .yaml files

* Fix small linting issue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-14 10:38:43 -04:00

19 lines
490 B
YAML

type: object
x-collection: directus_files
properties:
id:
description: Unique identifier for the folder.
example: 0cf0e03d-4364-45df-b77b-ca61f61869d2
type: string
name:
description: Name of the folder.
example: New York
type: string
parent:
description: Unique identifier of the parent folder. This allows for nested folders.
example: null
oneOf:
- type: string
- $ref: '../openapi.yaml#/components/schemas/Folders'
nullable: true