swagger-serializer 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/swagger/serializer/rails_controller.rb +2 -2
- data/lib/swagger/serializer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79c7bd80dde5bc99776c4eb97de7ca8c2fb26bcff9edd2782f7e5c98ccb6b20f
|
4
|
+
data.tar.gz: e645255c34a3f72c3f51fe4617956598e3330cc5369cd4407b4b0584bf9ab679
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc97f53340cb1fc8bfd066c93fb67c6eac39d51c68c48730fa97a169f4430d6018cb6ac9028bd79bd38801fbc284711986faa69903a23b79dd7591db42f28493
|
7
|
+
data.tar.gz: 17f8afe05b8f1cd95cb4dec0a1866ba636e2b6b3a689855d7b5791dc97a6113dc6d22d580bd2c205b2ba2b8f9080a7ed9144b92680dd1a4b2f5df64933fcf0c5
|
data/CHANGELOG.md
CHANGED
@@ -46,8 +46,8 @@ module Swagger::Serializer::RailsController
|
|
46
46
|
|
47
47
|
def body_deserializer
|
48
48
|
@body_deserializer ||=
|
49
|
-
if request.
|
50
|
-
swagger_operation.request_body.content[request.
|
49
|
+
if request.media_type
|
50
|
+
swagger_operation.request_body.content[request.media_type]&.deserializer
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swagger-serializer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Narazaka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json-schema-serializer
|
@@ -242,7 +242,7 @@ metadata:
|
|
242
242
|
homepage_uri: https://github.com/Narazaka/swagger-serializer
|
243
243
|
source_code_uri: https://github.com/Narazaka/swagger-serializer.git
|
244
244
|
changelog_uri: https://github.com/Narazaka/swagger-serializer/blob/master/CHANGELOG.md
|
245
|
-
documentation_uri: https://www.rubydoc.info/gems/swagger-serializer/0.9.
|
245
|
+
documentation_uri: https://www.rubydoc.info/gems/swagger-serializer/0.9.1
|
246
246
|
post_install_message:
|
247
247
|
rdoc_options: []
|
248
248
|
require_paths:
|