Skip to content

Commit c4e4283

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 610f266 commit c4e4283

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

lib/Model/Recommend/TypoToleranceEnum.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ class TypoToleranceEnum
2020

2121
public const STRICT = 'strict';
2222

23+
public const TRUE = 'true';
24+
25+
public const FALSE = 'false';
26+
2327
/**
2428
* Gets allowable values of the enum.
2529
*
@@ -30,6 +34,8 @@ public static function getAllowableEnumValues()
3034
return [
3135
self::MIN,
3236
self::STRICT,
37+
self::TRUE,
38+
self::FALSE,
3339
];
3440
}
3541
}

lib/Model/Search/TypoToleranceEnum.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ class TypoToleranceEnum
2020

2121
public const STRICT = 'strict';
2222

23+
public const TRUE = 'true';
24+
25+
public const FALSE = 'false';
26+
2327
/**
2428
* Gets allowable values of the enum.
2529
*
@@ -30,6 +34,8 @@ public static function getAllowableEnumValues()
3034
return [
3135
self::MIN,
3236
self::STRICT,
37+
self::TRUE,
38+
self::FALSE,
3339
];
3440
}
3541
}

0 commit comments

Comments
 (0)