class Field::Types::File

Public Instance Methods

json_schema_format() click to toggle source
# File lib/field/types/file.rb, line 8
def json_schema_format
  :uri
end
json_schema_pattern() click to toggle source
# File lib/field/types/file.rb, line 16
def json_schema_pattern
  '^(https?)://'
end
json_schema_type() click to toggle source
# File lib/field/types/file.rb, line 12
def json_schema_type
  :string
end
swagger_type() click to toggle source
# File lib/field/types/file.rb, line 4
def swagger_type
  :File
end