oas_parser 0.22.1 → 0.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/oas_parser/response_parser.rb +3 -2
- data/lib/oas_parser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a00059de0a56e556f6434379bb38b292b78ddca7a3277f291bb97101e2852e77
|
4
|
+
data.tar.gz: d00fcdb5f18a4759ecb06cf2bfc5d8d9864d7131b7cfd6a2f07c12e513f581d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dbf33dadd1b9023de322445eb610ea556d55bbaad4a4fe822c4c419186bc8ee6d9cfd6f6b159f4a1026a39f4a550a54da10b891a760e4c842e1356b26fa6fe9
|
7
|
+
data.tar.gz: c6cdf8afcfe42b2809784e7c5b93568b4d0efaa0b0e690173e6750007742f3cf79adc760634d90d4ba5bc5e1d0bee44210661d22091ae7e4d5ac83414dbe9ec4
|
data/Gemfile.lock
CHANGED
@@ -136,8 +136,9 @@ module OasParser
|
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
139
|
-
if object['items'] && object['items']['oneOf']
|
140
|
-
|
139
|
+
if object['items'] && (object['items']['oneOf'] || object['items']['anyOf'])
|
140
|
+
key = object['items']['oneOf'] ? 'oneOf' : 'anyOf'
|
141
|
+
items = object['items'][key].map do |obj|
|
141
142
|
route(obj)
|
142
143
|
end
|
143
144
|
|
data/lib/oas_parser/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oas_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Butler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|