swagger-serializer 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf4ef40c0b1c633e12d387a901202d251a31bc8cf75bb8508ea8f73c8b3cc767
4
- data.tar.gz: 76fd8312db12b5965652a7340d63160f68f0ba917365ea50642e22ee4b5f6b0b
3
+ metadata.gz: 61118ea5e4e0ae6447a27235d6598b05a0bab8105975b7f0e8abd555799c1669
4
+ data.tar.gz: 5b05814e65641cf2837bfcf775c512623b3b7acf13007f1c08120ced272445a3
5
5
  SHA512:
6
- metadata.gz: 9e730f28546dd33223ab5f494e5ba5f8806ad4763086bf354317f10afa7b95ec6717d32383fb6c885d6c2e41d531055e86597ae96b65a1ae761c9fcfe8fe6b74
7
- data.tar.gz: d519c4d5ad310de0dff235c1e1eb80c813c0406fe59dae54c669c6e28185d4b6b27edb3a6856b9adfa901d52f50fbb1efd1375c9af336621cab86dc24daa3128
6
+ metadata.gz: 6404071f5f13a26de10418980785d7c763430919b8cb503d57c7a832c7522c730bce6612a911b4ed9088081930492633786e384ec80fe2cc0303b7976d42d86e
7
+ data.tar.gz: a4eea6355374a9e6860ff70fcda0289b782128801c422879242331b28e067142fea151cf46ba38269e234e293eb65a262b5aa2f59e6c326af936058060ec95e8
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.5.2
4
+
5
+ - fix: body params missing error
6
+
3
7
  ## 0.5.1
4
8
 
5
9
  - fix: request method detection
@@ -47,7 +47,7 @@ module Swagger::Serializer::RailsController
47
47
  def body_deserializer
48
48
  @body_deserializer ||=
49
49
  if request.content_type
50
- swagger_operation.request_body.content[request.content_type].deserializer(
50
+ swagger_operation.request_body.content[request.content_type]&.deserializer(
51
51
  Swagger::Serializer::Store.current.serializer_options,
52
52
  )
53
53
  end
@@ -1,5 +1,5 @@
1
1
  module Swagger
2
2
  module Serializer
3
- VERSION = "0.5.1".freeze
3
+ VERSION = "0.5.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagger-serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Narazaka
@@ -234,7 +234,7 @@ metadata:
234
234
  homepage_uri: https://github.com/Narazaka/swagger-serializer
235
235
  source_code_uri: https://github.com/Narazaka/swagger-serializer.git
236
236
  changelog_uri: https://github.com/Narazaka/swagger-serializer/blob/master/CHANGELOG.md
237
- documentation_uri: https://www.rubydoc.info/gems/swagger-serializer/0.5.1
237
+ documentation_uri: https://www.rubydoc.info/gems/swagger-serializer/0.5.2
238
238
  post_install_message:
239
239
  rdoc_options: []
240
240
  require_paths: