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 +4 -4
- data/lib/swagger2hyperschema/converter.rb +1 -1
- data/lib/swagger2hyperschema/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d76f669e455dde6c79f32377672d46adb192646e
|
4
|
+
data.tar.gz: 520628689f71fab7039f95d2fa2d90d591b8c8c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
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:
|
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-
|
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:
|