module Schemable class RelationshipSchemaGenerator attr_reader model_definition: Definition attr_reader schema_modifier: SchemaModifier attr_reader relationships: Hash[Symbol, any] def initialize: (Definition) -> void def generate_schema: (String, ?collection: bool) -> Hash[Symbol, any] def generate: (?relationships_to_exclude_from_expansion: Array[String], ?expand: bool) -> (Hash[Symbol, any]) end end