class Apicraft::Mocker::Object

using Mocker types
Generate an object based on the schema

def max_properties

def max_properties
  schema.maxProperties || 0
end

def min_properties

def min_properties
  schema.minProperties || 0
end

def mock

def mock
  res = {}
  properties.each do |k, v|
    res[k] = Mocker.mock(v)
  end
  res
end

def properties

def properties
  schema.properties || {}
end

def required

def required
  schema.required || []
end