Skip to content

Commit 68659cd

Browse files
authored
Fix typo in method name (#253)
1 parent edc8406 commit 68659cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rspec/openapi/schema_cleaner.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def cleanup_conflicting_security_parameters!(base)
5050
parent_path_definition = base.dig(*path.take(path.length - 1))
5151

5252
security_schemes.each do |security_scheme_name, security_scheme|
53-
remove_parameters_conflicting_with_security_sceheme!(
53+
remove_parameters_conflicting_with_security_scheme!(
5454
parent_path_definition, security_scheme, security_scheme_name,
5555
)
5656
end
@@ -71,7 +71,7 @@ def cleanup_empty_required_array!(base)
7171

7272
private
7373

74-
def remove_parameters_conflicting_with_security_sceheme!(path_definition, security_scheme, security_scheme_name)
74+
def remove_parameters_conflicting_with_security_scheme!(path_definition, security_scheme, security_scheme_name)
7575
return unless path_definition[:security]
7676
return unless path_definition[:parameters]
7777
return unless path_definition.dig(:security, 0).keys.include?(security_scheme_name)

0 commit comments

Comments
 (0)