lib/cocina/generator/schema_value.rb in cocina-models-0.33.0 vs lib/cocina/generator/schema_value.rb in cocina-models-0.34.0

- old
+ new

@@ -2,14 +2,14 @@ module Cocina module Generator # Class for generating from an openapi value class SchemaValue < SchemaBase - # rubocop:disable Metrics/LineLength + # rubocop:disable Layout/LineLength def generate "#{description}#{example}attribute :#{name.camelize(:lower)}, Types::#{dry_datatype(schema_doc)}#{default}#{enum}#{omittable}" end - # rubocop:enable Metrics/LineLength + # rubocop:enable Layout/LineLength private def enum return '' unless schema_doc.enum