class R2OAS::Schema::V3::FromFiles::Components::SchemaRef

Constants

READONLY_KEYS
VALID_KEYS
WRITABLE_KEYS

Public Class Methods

new(ref_or_data) click to toggle source
# File lib/r2-oas/schema/v3/object/from_files/utils/refs.rb, line 106
def initialize(ref_or_data)
  build(ref_or_data, { type: :schema })
end

Private Instance Methods

valid_keys() click to toggle source
# File lib/r2-oas/schema/v3/object/from_files/utils/refs.rb, line 114
def valid_keys
  VALID_KEYS
end
writable_keys() click to toggle source
# File lib/r2-oas/schema/v3/object/from_files/utils/refs.rb, line 118
def writable_keys
  WRITABLE_KEYS
end