Skip to content

Commit 6fef878

Browse files
authored
Merge pull request #11 from owncloud/fix-syntax
syntax fixes
2 parents 311ad74 + 26f6f02 commit 6fef878

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

api/openapi-spec/v0.0.yaml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ components:
291291
schemas:
292292
drive:
293293
description: The user's HomeDrive. Read-only.
294-
nullable: false
295294
readOnly: true
295+
type: object
296296
allOf:
297297
- $ref: '#/components/schemas/baseItem'
298298
- type: object
@@ -314,16 +314,15 @@ components:
314314
readOnly: true
315315
root:
316316
$ref: '#/components/schemas/driveItem'
317-
318317
baseItem:
318+
type: object
319319
allOf:
320320
- $ref: '#/components/schemas/entity'
321321
- type: object
322322
properties:
323323
createdBy:
324324
$ref: '#/components/schemas/identitySet'
325325
description: 'Identity of the user, device, or application which created the item. Read-only.'
326-
nullable: false
327326
readOnly: true
328327
createdDateTime:
329328
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?([Zz]|[+-][0-9][0-9]:[0-9][0-9])$'
@@ -386,7 +385,6 @@ components:
386385
identitySet:
387386
type: object
388387
description: Optional. User account.
389-
nullable: false
390388
properties:
391389
application:
392390
$ref: '#/components/schemas/identity'
@@ -411,6 +409,7 @@ components:
411409
type: string
412410
description: Unique identifier for the identity.
413411
user:
412+
type: object
414413
allOf:
415414
- $ref: '#/components/schemas/directoryObject'
416415
- type: object
@@ -575,8 +574,8 @@ components:
575574
nullable: false
576575
driveItem:
577576
description: Reprensents a resource inside a drive. Read-only.
578-
nullable: false
579577
readOnly: true
578+
type: object
580579
allOf:
581580
- $ref: '#/components/schemas/baseItem'
582581
- type: object
@@ -623,7 +622,6 @@ components:
623622
deleted:
624623
type: object
625624
description: Information about the deleted state of the item. Read-only.
626-
nullable: false
627625
readOnly: true
628626
properties:
629627
state:
@@ -633,7 +631,6 @@ components:
633631
openGraphFile:
634632
type: object
635633
description: 'File metadata, if the item is a file. Read-only.'
636-
nullable: false
637634
readOnly: true
638635
properties:
639636
hashes:
@@ -649,7 +646,6 @@ components:
649646
fileSystemInfo:
650647
type: object
651648
description: File system information on client. Read-write.
652-
nullable: false
653649
properties:
654650
createdDateTime:
655651
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?([Zz]|[+-][0-9][0-9]:[0-9][0-9])$'
@@ -672,7 +668,6 @@ components:
672668
folder:
673669
type: object
674670
description: 'Folder metadata, if the item is a folder. Read-only.'
675-
nullable: false
676671
readOnly: true
677672
properties:
678673
childCount:
@@ -686,7 +681,6 @@ components:
686681
image:
687682
type: object
688683
description: 'Image metadata, if the item is an image. Read-only.'
689-
nullable: false
690684
readOnly: true
691685
properties:
692686
height:
@@ -706,8 +700,8 @@ components:
706700
root:
707701
type: object
708702
description: 'If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive.'
709-
nullable: false
710703
directoryObject:
704+
type: object
711705
allOf:
712706
- $ref: '#/components/schemas/entity'
713707
- type: object
@@ -721,7 +715,6 @@ components:
721715
quota:
722716
type: object
723717
description: Optional. Information about the drive's storage space quota. Read-only.
724-
nullable: false
725718
readOnly: true
726719
properties:
727720
deleted:
@@ -756,7 +749,6 @@ components:
756749
hashes:
757750
type: object
758751
description: 'Hashes of the file''s binary content, if available. Read-only.'
759-
nullable: false
760752
readOnly: true
761753
properties:
762754
crc32Hash:
@@ -781,7 +773,6 @@ components:
781773
folderView:
782774
type: object
783775
description: A collection of properties defining the recommended view for the folder.
784-
nullable: false
785776
properties:
786777
sortBy:
787778
type: string

0 commit comments

Comments
 (0)