Class: Field::Types::String

Inherits:
Base
  • Object
show all
Defined in:
lib/field/types/string.rb

Instance Attribute Summary

Attributes inherited from Base

#name, #translated, #type

Instance Method Summary collapse

Methods inherited from Base

fetch, #json_schema_format, #json_schema_pattern, supported_types

Instance Method Details

#json_schema_typeObject



4
5
6
# File 'lib/field/types/string.rb', line 4

def json_schema_type
  :string
end

#swagger_typeObject



8
9
10
# File 'lib/field/types/string.rb', line 8

def swagger_type
  :String
end