You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/tonik/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Generate type-safe API client packages for Dart and Flutter. Tonik produces idio
28
28
29
29
### Type-Safe Response Handling by Status Code and Content Type
30
30
31
-
Tonik generates distinct types for each response defined in your spec. When an endpoint returns different schemas for 200, 400, and 404—you get separate, strongly-typed classes for each:
31
+
Tonik generates distinct types for each response defined in your spec. When an endpoint returns different schemas for 200, 400, and 404 - you get separate, strongly-typed classes for each:
32
32
33
33
```dart
34
34
final response = await petApi.updatePet(body: pet);
@@ -62,7 +62,7 @@ See [Composite Data Types](https://github.com/t-unit/tonik/blob/main/docs/compos
62
62
63
63
### No Name Conflicts
64
64
65
-
Use `Error`, `Response`, `List`, or any Dart built-in as schema names. Tonik uses scoped code emission to properly qualify all type references—no naming collisions with `dart:core` or Dio.
65
+
Use `Error`, `Response`, `List`, or any Dart built-in as schema names. Tonik uses scoped code emission to properly qualify all type references - no naming collisions with `dart:core` or Dio.
66
66
67
67
### Integer and String Enums
68
68
@@ -85,7 +85,7 @@ Install with `dart pub global activate tonik` and run. No JVM, no Docker, no ext
85
85
86
86
### Universal Platform Support
87
87
88
-
Generated packages are pure Dart with no platform dependencies. Use them in Flutter apps targeting iOS, Android, web, desktop, or in server-side Dart—the same generated code works everywhere.
88
+
Generated packages are pure Dart with no platform dependencies. Use them in Flutter apps targeting iOS, Android, web, desktop, or in server-side Dart - the same generated code works everywhere.
0 commit comments