swagger_parser 0.0.2 → 0.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02c5d296cb6421c8617d5ff229d1d585ff56605c
|
4
|
+
data.tar.gz: 204012b78ec194aa4d7ac335f8292926de86d616
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93e8cc5fecfc94aa47174b123f31f318887e0b087bbb51892302e4a4d769e776eecfc5196f6fa26575fa3adf51098b2b319b99484d305de4a214d77bd795bd41
|
7
|
+
data.tar.gz: 25de6cb1cb57c68f53110413c3403738bebadfd0b3e18e2df2566a35363f42c8fa415aea4b5996ca7e242690f14f95a6a642df5187c77e49bd4965dc3a3c9ab3
|
data/CHANGELOG.md
CHANGED
@@ -4,8 +4,8 @@ module SwaggerParser
|
|
4
4
|
module ExternalDocsAttributable
|
5
5
|
# @return [SwaggerParser::ExternalDocumentation, nil]
|
6
6
|
def external_docs
|
7
|
-
if source["
|
8
|
-
SwaggerParser::ExternalDocumentation.new(source["
|
7
|
+
if source["externalDocs"]
|
8
|
+
SwaggerParser::ExternalDocumentation.new(source["externalDocs"])
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
@@ -2,5 +2,14 @@ require "swagger_parser/source_based_object"
|
|
2
2
|
|
3
3
|
module SwaggerParser
|
4
4
|
class ExternalDocumentation < SourceBasedObject
|
5
|
+
# @return [Object]
|
6
|
+
def description
|
7
|
+
source["description"]
|
8
|
+
end
|
9
|
+
|
10
|
+
# @return [Object]
|
11
|
+
def url
|
12
|
+
source["url"]
|
13
|
+
end
|
5
14
|
end
|
6
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swagger_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -130,9 +130,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.4.5
|
133
|
+
rubygems_version: 2.4.5.1
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Swagger schema parser.
|
137
137
|
test_files: []
|
138
|
-
has_rdoc:
|