diff --git a/packages/nextcloud/lib/src/nextcloud.openapi.dart b/packages/nextcloud/lib/src/nextcloud.openapi.dart index bca5547d..9b124cf7 100644 --- a/packages/nextcloud/lib/src/nextcloud.openapi.dart +++ b/packages/nextcloud/lib/src/nextcloud.openapi.dart @@ -290,13 +290,18 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce { @JsonSerializable() class CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable { - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable({required this.size}); + CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable({ + required this.size, + required this.gps, + }); factory CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable.fromJson(Map json) => _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableFromJson(json); final List size; + final List gps; + // coverage:ignore-start Map toJson() => _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableToJson(this); // coverage:ignore-end diff --git a/packages/nextcloud/lib/src/nextcloud.openapi.g.dart b/packages/nextcloud/lib/src/nextcloud.openapi.g.dart index 769d239c..1e84ca99 100644 --- a/packages/nextcloud/lib/src/nextcloud.openapi.g.dart +++ b/packages/nextcloud/lib/src/nextcloud.openapi.g.dart @@ -135,10 +135,11 @@ CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableFromJson(Map json) { $checkKeys( json, - allowedKeys: const ['size'], + allowedKeys: const ['size', 'gps'], ); return CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable( size: (json['size'] as List).map((e) => e as String).toList(), + gps: (json['gps'] as List).map((e) => e as String).toList(), ); } @@ -146,6 +147,7 @@ Map _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvai CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable instance) => { 'size': instance.size, + 'gps': instance.gps, }; CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing diff --git a/packages/nextcloud/lib/src/nextcloud.openapi.json b/packages/nextcloud/lib/src/nextcloud.openapi.json index f50ddb8f..cce7ed5d 100644 --- a/packages/nextcloud/lib/src/nextcloud.openapi.json +++ b/packages/nextcloud/lib/src/nextcloud.openapi.json @@ -237,7 +237,8 @@ "metadataAvailable": { "type": "object", "required": [ - "size" + "size", + "gps" ], "properties": { "size": { @@ -245,6 +246,12 @@ "items": { "type": "string" } + }, + "gps": { + "type": "array", + "items": { + "type": "string" + } } } }, diff --git a/specs/core.json b/specs/core.json index 12cbb722..63c37da8 100644 --- a/specs/core.json +++ b/specs/core.json @@ -223,7 +223,8 @@ "metadataAvailable": { "type": "object", "required": [ - "size" + "size", + "gps" ], "properties": { "size": { @@ -231,6 +232,12 @@ "items": { "type": "string" } + }, + "gps": { + "type": "array", + "items": { + "type": "string" + } } } },