class Field::Types::Date

Public Instance Methods

json_schema_format() click to toggle source
# File lib/field/types/date.rb, line 8
def json_schema_format
  # 2010-01-01T12:00:00Z
  'date-time'
end
json_schema_type() click to toggle source
# File lib/field/types/date.rb, line 4
def json_schema_type
  :string
end
swagger_type() click to toggle source
# File lib/field/types/date.rb, line 13
def swagger_type
  :DateTime
end