Skip to content

Commit 8e7a47d

Browse files
committed
fix(nextcloud)!: Make files_sharing Share label nullable
Signed-off-by: provokateurin <kate@provokateurin.de>
1 parent 2a48f06 commit 8e7a47d

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

packages/nextcloud/lib/src/api/files_sharing/files_sharing.openapi.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -3883,7 +3883,7 @@ sealed class $ShareInterface {
38833883
int get itemSource;
38843884
@BuiltValueField(wireName: 'item_type')
38853885
Share_ItemType get itemType;
3886-
String get label;
3886+
String? get label;
38873887
@BuiltValueField(wireName: 'mail_send')
38883888
Share_MailSend get mailSend;
38893889
String get mimetype;

packages/nextcloud/lib/src/api/files_sharing/files_sharing.openapi.g.dart

+10-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/nextcloud/lib/src/api/files_sharing/files_sharing.openapi.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,8 @@
579579
]
580580
},
581581
"label": {
582-
"type": "string"
582+
"type": "string",
583+
"nullable": true
583584
},
584585
"mail_send": {
585586
"type": "integer",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"op": "add",
4+
"path": "/components/schemas/Share/properties/label/nullable",
5+
"value": true
6+
}
7+
]

0 commit comments

Comments
 (0)