Sha256: c00e927299ffc6304b818c88aa94955b86371d8be03b1837e592e9e73012f849
Contents?: true
Size: 843 Bytes
Versions: 7
Compression:
Stored size: 843 Bytes
Contents
# frozen_string_literal: true require "esquema" Esquema.configure do |config| # Exclude Associations: # Exclude associated models from the json-schema output. # By default, all associated models are included. config.exclude_associations = false # Exclude Foreign Keys: # Specify whether or not to exclude foreign keys from the json-schema output. # By default, foreign keys are excluded. # foreign keys are loosely defined as columns that end with "_id". config.exclude_foreign_keys = true # Excluded Columns: # Specify the columns that you want to exclude from the json-schema output. # These are columns common to all models, such as id, created_at, updated_at, etc. # It's okay if not all models have these columns, they will be ignored. config.excluded_columns = %i[id created_at updated_at deleted_at] end
Version data entries
7 entries across 7 versions & 3 rubygems