Skip to content

Commit e18d86f

Browse files
algolia-botmillotp
andcommitted
fix(specs): userData is any type (generated)
algolia/api-clients-automation#4702 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 1d768cc commit e18d86f

8 files changed

+16
-4
lines changed

lib/algolia/models/composition/search_results_item.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ def self.types_mapping
189189
# List of attributes with nullable: true
190190
def self.openapi_nullable
191191
Set.new(
192-
[]
192+
[
193+
:user_data
194+
]
193195
)
194196
end
195197

lib/algolia/models/recommend/fallback_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ def self.openapi_nullable
443443
Set.new(
444444
[
445445
:inside_bounding_box,
446+
:user_data,
446447
:optional_words
447448
]
448449
)

lib/algolia/models/recommend/recommend_search_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ def self.openapi_nullable
444444
Set.new(
445445
[
446446
:inside_bounding_box,
447+
:user_data,
447448
:optional_words
448449
]
449450
)

lib/algolia/models/recommend/recommendations_results.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ def self.types_mapping
174174
# List of attributes with nullable: true
175175
def self.openapi_nullable
176176
Set.new(
177-
[]
177+
[
178+
:user_data
179+
]
178180
)
179181
end
180182

lib/algolia/models/search/browse_response.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ def self.types_mapping
190190
# List of attributes with nullable: true
191191
def self.openapi_nullable
192192
Set.new(
193-
[]
193+
[
194+
:user_data
195+
]
194196
)
195197
end
196198

lib/algolia/models/search/index_settings.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ def self.types_mapping
318318
def self.openapi_nullable
319319
Set.new(
320320
[
321+
:user_data,
321322
:optional_words
322323
]
323324
)

lib/algolia/models/search/search_response.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ def self.types_mapping
187187
# List of attributes with nullable: true
188188
def self.openapi_nullable
189189
Set.new(
190-
[]
190+
[
191+
:user_data
192+
]
191193
)
192194
end
193195

lib/algolia/models/search/settings_response.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ def self.types_mapping
322322
def self.openapi_nullable
323323
Set.new(
324324
[
325+
:user_data,
325326
:optional_words
326327
]
327328
)

0 commit comments

Comments
 (0)