Browse Source

fix(dynamite,nextcloud): unnecessary_breaks

Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
pull/576/head
Nikolas Rimikis 1 year ago
parent
commit
70d7cefa9d
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 1
      packages/dynamite/dynamite/lib/src/openapi_builder.dart
  2. 2
      packages/nextcloud/lib/src/api/core.openapi.dart
  3. 1
      packages/nextcloud/lib/src/api/files_sharing.openapi.dart
  4. 1
      packages/nextcloud/lib/src/api/settings.openapi.dart

1
packages/dynamite/dynamite/lib/src/openapi_builder.dart

@ -1206,7 +1206,6 @@ TypeResult resolveObject(
'result.${_toDartName(propertyName)} = value!;', 'result.${_toDartName(propertyName)} = value!;',
), ),
], ],
const Code('break;'),
]; ];
} }

2
packages/nextcloud/lib/src/api/core.openapi.dart

@ -2308,7 +2308,6 @@ class _$CoreAvatarAvatarGetAvatarDarkHeadersSerializer
switch (key) { switch (key) {
case 'x-nc-iscustomavatar': case 'x-nc-iscustomavatar':
result.xNcIscustomavatar = int.parse(value); result.xNcIscustomavatar = int.parse(value);
break;
} }
} }
@ -2371,7 +2370,6 @@ class _$CoreAvatarAvatarGetAvatarHeadersSerializer implements StructuredSerializ
switch (key) { switch (key) {
case 'x-nc-iscustomavatar': case 'x-nc-iscustomavatar':
result.xNcIscustomavatar = int.parse(value); result.xNcIscustomavatar = int.parse(value);
break;
} }
} }

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

@ -2410,7 +2410,6 @@ class _$FilesSharingShareesapiShareesapiSearchHeadersSerializer
switch (key) { switch (key) {
case 'link': case 'link':
result.link = value; result.link = value;
break;
} }
} }

1
packages/nextcloud/lib/src/api/settings.openapi.dart

@ -182,7 +182,6 @@ class _$SettingsLogSettingsLogSettingsDownloadHeadersSerializer
switch (key) { switch (key) {
case 'content-disposition': case 'content-disposition':
result.contentDisposition = value; result.contentDisposition = value;
break;
} }
} }

Loading…
Cancel
Save