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-0.7.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.6.1 lib/openapi_parser/schemas/base.rb
openapi_parser-0.6.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.5.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.4.1 lib/openapi_parser/schemas/base.rb
openapi_parser-0.4.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.3.1 lib/openapi_parser/schemas/base.rb
openapi_parser-0.3.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.2.7 lib/openapi_parser/schemas/base.rb
openapi_parser-0.2.6 lib/openapi_parser/schemas/base.rb
openapi_parser-0.2.5 lib/openapi_parser/schemas/base.rb
openapi_parser-0.2.4 lib/openapi_parser/schemas/base.rb
openapi_parser-0.2.3 lib/openapi_parser/schemas/base.rb
openapi_parser-0.2.2 lib/openapi_parser/schemas/base.rb
openapi_parser-0.2.1 lib/openapi_parser/schemas/base.rb
openapi_parser-0.2.0 lib/openapi_parser/schemas/base.rb
openapi_parser-0.1.9 lib/openapi_parser/schemas/base.rb
openapi_parser-0.1.8 lib/openapi_parser/schemas/base.rb
openapi_parser-0.1.7 lib/openapi_parser/schemas/base.rb
openapi_parser-0.1.6 lib/openapi_parser/schemas/base.rb