Sha256: 7e707d9f15487c50fec1e140a1c66a40ab848d656c71cb6ec5b4d30a4452ebdf

Contents?: true

Size: 469 Bytes

Versions: 3

Compression:

Stored size: 469 Bytes

Contents

module Schemable
  class ResponseSchemaGenerator
    attr_reader model: Class
    attr_reader model_definition: Definition
    attr_reader schema_modifier: SchemaModifier
    attr_reader configuration: Configuration

    def initialize: (Definition) -> void
    def meta: -> Hash[Symbol, any]
    def jsonapi: -> Hash[Symbol, any]
    def generate: (expand: bool, relationships_to_exclude_from_expansion: Array[Symbol], collection: bool) -> Hash[Symbol, any]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
schemable-1.0.2 sig/schemable/response_schema_generator.rbs
schemable-1.0.1 sig/schemable/response_schema_generator.rbs
schemable-1.0.0 sig/schemable/response_schema_generator.rbs