Class: Field::Types::String
- Inherits:
-
Base
- Object
- Base
- Field::Types::String
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_type ⇒ Object
4
5
6
|
# File 'lib/field/types/string.rb', line 4
def json_schema_type
:string
end
|
#swagger_type ⇒ Object
8
9
10
|
# File 'lib/field/types/string.rb', line 8
def swagger_type
:String
end
|