diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a60a32c..ca75a7e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -- Rename `parameter_overwite_by_rails_rule` to `parameter_overwrite_by_rails_rule` #396 - ### Added - Add `allow_blank_structures` option #417 - Allow Empty Response Body. supported on Hyper-schema parser but will default to true in next major version. +### Changed + +- Rename `parameter_overwite_by_rails_rule` to `parameter_overwrite_by_rails_rule` #396 + - You can use old option name but it will be deprecated in next major version. + ## [5.2.0] - 2024-05-04 - Error explicitly that OpenAPI 3.1+ isn't supported #418 diff --git a/lib/committee/request_unpacker.rb b/lib/committee/request_unpacker.rb index abddd264..42cb8c66 100644 --- a/lib/committee/request_unpacker.rb +++ b/lib/committee/request_unpacker.rb @@ -53,7 +53,9 @@ def unpack_request_params(request) end def unpack_query_params(request) - @allow_query_params ? self.class.indifferent_params(request.GET) : {} + pp request.GET + pp request.POST + @allow_query_params ? self.class.indifferent_params(request.params) : {} end def unpack_headers(request)