Skip to content

Commit c3f3d1d

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 3ffcca7 commit c3f3d1d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/algolia/models/recommend/typo_tolerance_enum.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ module Recommend
1010
class TypoToleranceEnum
1111
MIN = "min".freeze
1212
STRICT = "strict".freeze
13+
TRUE = "true".freeze
14+
FALSE = "false".freeze
1315

1416
def self.all_vars
15-
@all_vars ||= [MIN, STRICT].freeze
17+
@all_vars ||= [MIN, STRICT, TRUE, FALSE].freeze
1618
end
1719

1820
# Builds the enum from string

lib/algolia/models/search/typo_tolerance_enum.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ module Search
1010
class TypoToleranceEnum
1111
MIN = "min".freeze
1212
STRICT = "strict".freeze
13+
TRUE = "true".freeze
14+
FALSE = "false".freeze
1315

1416
def self.all_vars
15-
@all_vars ||= [MIN, STRICT].freeze
17+
@all_vars ||= [MIN, STRICT, TRUE, FALSE].freeze
1618
end
1719

1820
# Builds the enum from string

0 commit comments

Comments
 (0)