Class: Field::Types::Float
- Inherits:
-
Base
- Object
- Base
- Field::Types::Float
show all
- Defined in:
- lib/field/types/float.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
8
9
10
|
# File 'lib/field/types/float.rb', line 8
def json_schema_type
:number
end
|
#swagger_type ⇒ Object
4
5
6
|
# File 'lib/field/types/float.rb', line 4
def swagger_type
:Integer
end
|