Sha256: bb60de2da201e33bed1e3dfe429a6a55ad80e880c006052b05db910be8405c36

Contents?: true

Size: 583 Bytes

Versions: 40

Compression:

Stored size: 583 Bytes

Contents

module OpenAPIParser::Schemas
  class Base
    include OpenAPIParser::Parser
    include OpenAPIParser::Findable
    include OpenAPIParser::Expandable

    attr_reader :parent, :raw_schema, :object_reference, :root

    # @param [OpenAPIParser::Schemas::Base]
    def initialize(object_reference, parent, root, raw_schema)
      @raw_schema = raw_schema
      @parent = parent
      @root = root
      @object_reference = object_reference

      load_data
      after_init
    end

    # override
    def after_init
    end

    def inspect
      @object_reference
    end
  end
end

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
openapi_parser-2.2.2 lib/openapi_parser/schemas/base.rb
openapi_parser-2.2.1 lib/openapi_parser/schemas/base.rb
openapi_parser-2.2.0 lib/openapi_parser/schemas/base.rb
openapi_parser-2.1.0 lib/openapi_parser/schemas/base.rb
openapi_parser-2.0.0 lib/openapi_parser/schemas/base.rb
openapi_parser_firetail-1.0.0 lib/openapi_parser/schemas/base.rb
openapi_parser-1.0.0 lib/openapi_parser/schemas/base.rb
openapi_parser-1.0.0.beta1 lib/openapi_parser/schemas/base.rb
openapi_parser-0.15.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.14.1 lib/openapi_parser/schemas/base.rb
openapi_parser-0.14.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.13.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.12.1 lib/openapi_parser/schemas/base.rb
openapi_parser-0.12.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.11.2 lib/openapi_parser/schemas/base.rb
openapi_parser-0.11.1 lib/openapi_parser/schemas/base.rb
openapi_parser-0.11.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.10.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.9.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.8.0 lib/openapi_parser/schemas/base.rb