apivore 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/apivore/swagger.rb +6 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGNmYjc5OTRjZjZmYzM1YjFmZmVlZTk2NWQxNDc3Y2YzZmYyYjBjZA==
4
+ Yjc2NjJkNTQwMWMxYmI2MzcyZTk5ZTcwYWI5NzAwMDBiOTU3N2U4ZQ==
5
5
  data.tar.gz: !binary |-
6
- NGEzZTQ5NzEwMzEwZDZmOTg4YTQwZmNmMjE4YjMzODEzYTgyMDVjNg==
6
+ ZDE1NDgxNzU3NDU4ZDEwMWJiMWEzZDhmOTA3YjhmZTRjOWVhOTdmNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmRlNjAwOTI5N2ViODIwZTMwNDNkYjg3MmU1MjhiNTFmODgwNDk1OWNlNDdk
10
- MTM0YjVkYjkwMzQ0NzE2ZGUyNmY0NWIxY2Q0MGNmNGM4NWI3OWM5NjAzZjQ4
11
- NDYwMTM0YTMxMGQ4OGFhYWJlYWQ4YzM1YjE5MjhlMzllZGFjODQ=
9
+ NjUzZjBlZjMwMzQ3ZWFmOTRlOGYwYTJiMmRiNmFhMmQ3YjUzYWU3ZDliNjg4
10
+ YmU0NjZhYTYxY2FjZmJjMzZkYTM5NzRjYjU1ZWIwZGRmNmRmOWJlMDZmZGE3
11
+ ZTAzOGM1ZGJjMmEyYjk0OWRhMGFmN2VmMTNhOWQzYmM2YjY4ZjQ=
12
12
  data.tar.gz: !binary |-
13
- OGE5OGY0OWRjZDAwZjYxNjI5YTkzOTA0OGNhYTQxNDQzNGEzZGM4YmM5ODNk
14
- OGEzOGE1ZDhiZTFkOGEzMjU3ZTExNjk0YThjN2I2NjU4OWJiMGE0NDEyMDYx
15
- MzBjNzZlNmM3M2Y5NzAxYTU0NmEyZGU3YTYxMmYzYWQ3MGM0NWI=
13
+ MTE0ZThkYTdiZWM4ZGI1NjZkNWI5MGY1MzU4MWRhMWJjMmRlYWQ5NTU5OThj
14
+ ZmYwOWMxMzMxZjZiNWI4MzY5ODMzNmM1Y2Q5YmMyYTQxY2VlOGE0Y2VkMDNi
15
+ MDQ1ZjYwODNhZjliMjNjMTY4YjlkNDc2ZmE0MGZlN2I5MjVjYzc=
@@ -26,6 +26,7 @@ module Apivore
26
26
 
27
27
  def each_response(&block)
28
28
  paths.each do |path, path_data|
29
+ next if vendor_specific_tag? path
29
30
  path_data.each do |verb, method_data|
30
31
  next if NONVERB_PATH_ITEMS.include?(verb)
31
32
  raise "No responses found in swagger for path '#{path}', method #{verb}: #{method_data.inspect}" if method_data.responses.nil?
@@ -39,5 +40,10 @@ module Apivore
39
40
  end
40
41
  end
41
42
  end
43
+
44
+ def vendor_specific_tag? tag
45
+ tag =~ /\Ax-.*/
46
+ end
47
+
42
48
  end
43
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apivore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Horn