Browse Source

Merge pull request #222 from provokateurin/fix/dynamite-descriptions

dynamite: Fix descriptions of methods with summary and description
pull/225/head
Kate 2 years ago committed by GitHub
parent
commit
97bb028b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/dynamite/lib/src/openapi_builder.dart
  2. 2
      packages/nextcloud/lib/src/nextcloud.openapi.dart

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

@ -579,7 +579,7 @@ class OpenAPIBuilder implements Builder {
..docs.addAll([ ..docs.addAll([
..._descriptionToDocs(operation.summary), ..._descriptionToDocs(operation.summary),
if (operation.summary != null && operation.description != null) ...[ if (operation.summary != null && operation.description != null) ...[
'', '///',
], ],
..._descriptionToDocs(operation.description), ..._descriptionToDocs(operation.description),
]); ]);

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

@ -1245,7 +1245,7 @@ class NextcloudUnifiedPushProviderClient {
} }
/// Request to get push messages. /// Request to get push messages.
///
/// This is a public page since it has to be handle by the non-connected app (NextPush app and not Nextcloud-app) /// This is a public page since it has to be handle by the non-connected app (NextPush app and not Nextcloud-app)
Future<NextcloudUnifiedPushProviderSyncDeviceResponse401ApplicationJson> syncDevice( Future<NextcloudUnifiedPushProviderSyncDeviceResponse401ApplicationJson> syncDevice(
{required String deviceId}) async { {required String deviceId}) async {

Loading…
Cancel
Save