Skip to content

Commit 471244e

Browse files
algolia-botmillotp
andcommitted
fix(specs): typoTolerance can be a boolean string (generated)
algolia/api-clients-automation#4900 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 788f9f2 commit 471244e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

packages/algoliasearch/lib/src/model/typo_tolerance_enum.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import 'package:json_annotation/json_annotation.dart';
66
@JsonEnum(valueField: 'raw')
77
enum TypoToleranceEnum {
88
min(r'min'),
9-
strict(r'strict');
9+
strict(r'strict'),
10+
true_(r'true'),
11+
false_(r'false');
1012

1113
const TypoToleranceEnum(this.raw);
1214
final dynamic raw;

packages/client_recommend/lib/src/model/typo_tolerance_enum.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import 'package:json_annotation/json_annotation.dart';
66
@JsonEnum(valueField: 'raw')
77
enum TypoToleranceEnum {
88
min(r'min'),
9-
strict(r'strict');
9+
strict(r'strict'),
10+
true_(r'true'),
11+
false_(r'false');
1012

1113
const TypoToleranceEnum(this.raw);
1214
final dynamic raw;

packages/client_search/lib/src/model/typo_tolerance_enum.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import 'package:json_annotation/json_annotation.dart';
66
@JsonEnum(valueField: 'raw')
77
enum TypoToleranceEnum {
88
min(r'min'),
9-
strict(r'strict');
9+
strict(r'strict'),
10+
true_(r'true'),
11+
false_(r'false');
1012

1113
const TypoToleranceEnum(this.raw);
1214
final dynamic raw;

0 commit comments

Comments
 (0)