lib/generators/schemable/model_generator.rb in schemable-0.1.0 vs lib/generators/schemable/model_generator.rb in schemable-0.1.1
- old
+ new
@@ -17,11 +17,9 @@
if Rails.root.join(target_path).exist?
say_status('skipped', 'Model definition already exists')
else
create_file(target_path, <<-FILE
-require './lib/swagger/concerns/schemable'
-
module Swagger
module Definitions
class #{@model_name.classify}
include Schemable