Skip to content

Commit

Permalink
feat(dynamite): add generated by comment to warn about manual changes
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolas Rimikis <[email protected]>
  • Loading branch information
Leptopoda committed Dec 29, 2023
1 parent 0df6779 commit f63dd03
Show file tree
Hide file tree
Showing 38 changed files with 75 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/dynamite/dynamite/example/lib/petstore.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
1 change: 1 addition & 0 deletions packages/dynamite/dynamite/lib/src/openapi_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class OpenAPIBuilder implements Builder {
}

b
..generatedByComment = 'OpenAPI client generated by Dynamite. Do not manually edit this file.'
..directives.addAll([
Directive.import('dart:convert'),
Directive.import('dart:typed_data'),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/comments.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/core.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/dashboard.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/dav.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/files.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/files_external.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/files_reminders.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/files_sharing.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/files_trashbin.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/files_versions.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/news.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/notes.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/notifications.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/provisioning_api.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/settings.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/sharebymail.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/spreed.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/theming.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/uppush.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/user_status.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down
2 changes: 2 additions & 0 deletions packages/nextcloud/lib/src/api/weather_status.openapi.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// OpenAPI client generated by Dynamite. Do not manually edit this file.

// ignore_for_file: camel_case_extensions, camel_case_types, discarded_futures
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: public_member_api_docs, unreachable_switch_case
Expand Down

0 comments on commit f63dd03

Please sign in to comment.