spec/support/model_parsers/representable_parser.rb in grape-swagger-0.34.2 vs spec/support/model_parsers/representable_parser.rb in grape-swagger-1.0.0
- old
+ new
@@ -184,10 +184,10 @@
property :prop_date, documentation: { type: Date, desc: 'prop_date description' }
property :prop_date_time, documentation: { type: DateTime, desc: 'prop_date_time description' }
property :prop_time, documentation: { type: Time, desc: 'prop_time description' }
property :prop_password, documentation: { type: 'password', desc: 'prop_password description' }
property :prop_email, documentation: { type: 'email', desc: 'prop_email description' }
- property :prop_boolean, documentation: { type: Virtus::Attribute::Boolean, desc: 'prop_boolean description' }
+ property :prop_boolean, documentation: { type: Grape::API::Boolean, desc: 'prop_boolean description' }
property :prop_file, documentation: { type: File, desc: 'prop_file description' }
property :prop_json, documentation: { type: JSON, desc: 'prop_json description' }
end
class RecursiveModel < Representable::Decorator