swagger2hyperschema 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85b66a40ba49a3827e9f3558abb6a3f53ab66752
4
- data.tar.gz: a6c2d46c264ca00e7a7e836846f7753721fc999a
3
+ metadata.gz: d76f669e455dde6c79f32377672d46adb192646e
4
+ data.tar.gz: 520628689f71fab7039f95d2fa2d90d591b8c8c7
5
5
  SHA512:
6
- metadata.gz: e09b140f80350a973d7cdd11e9f825a4bc03fc209ca603bbe8ccba1c03425136b1eba40af57300d4d57fe0b064a7b8be5df0a1ec08d6cdf1469100e64775a0e7
7
- data.tar.gz: 1ef084c1a8d1403752f58b7047705f073d59fb736e46a8a764858f7a55a220d558814a6f57122731af6d17c42f49e78a4d5a7eb9cee83c2cd0d1d8b850fadc81
6
+ metadata.gz: 4fe0f71ad860f26b6ebffe913dd8156a38a502304671cebd136cbdcadf4786b922e2d7aca57e44c97df44981bf085c65f3de495ae13e8d77f72471c27bb7b5bb
7
+ data.tar.gz: 418b2c43c134e75f16bdd9bc818ac2ff9603db1eca812769e06219be8d29ce97367f76e7802dd6d162e9cbe80684e09770cbab81eff62331e7544f8b0b1937f2
@@ -17,7 +17,7 @@ module Swagger2hyperschema
17
17
 
18
18
  json_schema['links'] = swagger['paths'].flat_map {|endpoint, methods|
19
19
  methods.map {|method, link| convert_path_to_link(endpoint, method, link) }
20
- }
20
+ }.select {|link| link['targetSchema'] }
21
21
 
22
22
  json_schema['definitions'] = swagger['definitions']
23
23
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Swagger2hyperschema
3
- VERSION = '0.1.0'
3
+ VERSION = '1.0.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagger2hyperschema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fumiaki MATSUSHIMA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-13 00:00:00.000000000 Z
11
+ date: 2016-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -113,3 +113,4 @@ signing_key:
113
113
  specification_version: 4
114
114
  summary: Convert swagger spec to json hyper schema
115
115
  test_files: []
116
+ has_rdoc: