class Apicraft::Mocker::String

def mock

def mock
  return enum.sample if enum.present?
  return Faker::Internet.email if format == "email"
  return Faker::Internet.url if format == "uri"
  return Faker::Internet.uuid if format == "uuid"
  return Faker::Time.backward.iso8601 if format == "date-time"
  Faker::Lorem.word
end