apivore 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/apivore/swagger.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YzM4N2M0MGU5M2Q3ZjYyMTlkY2NkMDBjY2IwODU3MjU0M2M1MjkzMQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YzhhNzY1NTliNTUyM2I0YTBmM2IwYzk5YjY5YWVhN2JhNGY3N2JiMA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YWIwN2E4N2RlZTM1YmY4N2U4MGQ0ZGQ4OTMzNzJjMzQwYTIxZWJkMDk0YzYx
|
|
10
|
+
YmU5ODYxMWZjMzExMGRiODkyOGFjZmIxMTY1ODcwMDBjNWI1Njc1NTdiMmVm
|
|
11
|
+
NTI4ZjFiYWQxOTM3NzY5NzFkM2M3Y2IyMTk5N2NhY2ExNTlhMjY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MTk3Njk0MTI0MjA5ZDI0ZGQ4ZjJiYmIwMjRjYmJjNjU4YWRhMmEyMGI4NWYz
|
|
14
|
+
MjMwMWYyNWJhMmZlMThlNmJjYWVlZWUzOTk0YzFlYzRiNWUwNGVkMTJmNmNm
|
|
15
|
+
Mzg2YTgwNWYzZWNjMDI0YjVjNGZiNWYxMjIyODkxYWY4ODUxNTE=
|
data/lib/apivore/swagger.rb
CHANGED
|
@@ -29,7 +29,11 @@ module Apivore
|
|
|
29
29
|
next if vendor_specific_tag? path
|
|
30
30
|
path_data.each do |verb, method_data|
|
|
31
31
|
next if NONVERB_PATH_ITEMS.include?(verb)
|
|
32
|
-
|
|
32
|
+
next if vendor_specific_tag? verb
|
|
33
|
+
if method_data.responses.nil?
|
|
34
|
+
raise "No responses found in swagger for path '#{path}', " \
|
|
35
|
+
"method #{verb}: #{method_data.inspect}"
|
|
36
|
+
end
|
|
33
37
|
method_data.responses.each do |response_code, response_data|
|
|
34
38
|
schema_location = nil
|
|
35
39
|
if response_data.schema
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apivore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Charles Horn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json-schema
|