We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c91b1b7 commit 1d13b2dCopy full SHA for 1d13b2d
1 file changed
lib/openapi_first/configuration.rb
@@ -14,7 +14,7 @@ def initialize
14
@request_validation_error_response = OpenapiFirst.find_error_response(:default)
15
@request_validation_raise_error = false
16
@response_validation_raise_error = true
17
- @hooks = (HOOKS.map { [_1, Set.new] }).to_h
+ @hooks = HOOKS.to_h { [_1, Set.new] }
18
@path = nil
19
end
20
0 commit comments