lib/swagger_yard/property.rb in swagger_yard-0.2.0 vs lib/swagger_yard/property.rb in swagger_yard-0.3.0

- old
+ new

@@ -21,13 +21,9 @@ def required? @required end - def model_name - @type.model_name - end - def to_h @type.to_h.tap do |h| h["description"] = description if description end end