jdoc 0.1.8 → 0.1.9

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: ca57f4ae2145fcfb22c30c61250c4774ecce8582
4
- data.tar.gz: e1c9d7cc2a86c392a8e9b42ed5c9132e683105e4
3
+ metadata.gz: ede1c30d5aff68f2e68e3f3283716f70ce53c7de
4
+ data.tar.gz: df42a4a13574f2e80feb9e500c6f1612ceeed49c
5
5
  SHA512:
6
- metadata.gz: 38cddcb58000bb3d6556f0b030913492ed52fe78c9774dc1fdd376f69fae2c6c3e6ff6b7c54d4eaa434c9f6c3823f2977950d509a01d659113d13c47a13c12a5
7
- data.tar.gz: 1764003b401d7c1f64d4b2ad82f74a8feb12ee2a8d542130c23a3ffe036aa2b5f8e710a588e870dd693b0272f17850f976debf37e2cb49d79caf968a718eceed
6
+ metadata.gz: 2a6444702d84d35bc36cf9353ea73523384f9ea6ff856771d4e3f6e7276480b4b0b143063e32624501c4b9317164503b5dde4c53db186d68a00e2bd28a8eb0d0
7
+ data.tar.gz: a8447fcd1cb335b41b571ffa55fe8b6bcae0be1839dea092325ead4523a43c2eb96a8a6b8f97063d85dc445de59dc9474b9f2c9dec6ae8853aa6903cb3814c14
@@ -1,3 +1,6 @@
1
+ ## 0.1.9
2
+ * Support property that has no type
3
+
1
4
  ## 0.1.8
2
5
  * Support property that is an array of primitive values
3
6
 
@@ -195,7 +195,6 @@ Content-Type: application/json
195
195
  ### Properties
196
196
  * name
197
197
  * Example: `"Sushi"`
198
- * Type: string
199
198
  * user
200
199
  * Type: object
201
200
 
@@ -51,7 +51,7 @@ module Jdoc
51
51
 
52
52
  # @return [String, nil] Possible types defined in type property
53
53
  def type
54
- if @schema.type
54
+ unless @schema.type.empty?
55
55
  @schema.type.join(", ")
56
56
  end
57
57
  end
@@ -1,3 +1,3 @@
1
1
  module Jdoc
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -97,7 +97,6 @@ definitions:
97
97
  type: object
98
98
  definitions:
99
99
  name:
100
- type: string
101
100
  example: "Sushi"
102
101
  properties:
103
102
  name:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura