openapi_parser 0.14.1 → 0.15.0
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/TAGS +1352 -0
- data/lib/openapi_parser/concerns/findable.rb +2 -2
- data/lib/openapi_parser/version.rb +1 -1
- metadata +3 -2
@@ -46,8 +46,8 @@ module OpenAPIParser::Findable
|
|
46
46
|
private
|
47
47
|
|
48
48
|
def find_remote_object(reference)
|
49
|
-
|
50
|
-
|
49
|
+
uri, fragment = reference.split("#", 2)
|
50
|
+
reference_uri = URI(uri)
|
51
51
|
reference_uri.fragment = nil
|
52
52
|
root.load_another_schema(reference_uri)&.find_object("##{fragment}")
|
53
53
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openapi_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ota42y
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- LICENSE.txt
|
141
141
|
- README.md
|
142
142
|
- Rakefile
|
143
|
+
- TAGS
|
143
144
|
- bin/console
|
144
145
|
- bin/setup
|
145
146
|
- lib/openapi_parser.rb
|