Open Almad opened 8 years ago
For number primitive type, specification says:
number
Specifies any number.
I think it should be specified what any means. Integers only? Signed? Unsigned? Decimal points—fixed or floats?
any
If "any" truly means "all of the above", I think it would be useful to explicitly mention it in spec.
Good point. Is -1.7E+3 valid MSON number? This is how JSON Schema does it: http://spacetelescope.github.io/understanding-json-schema/reference/numeric.html
-1.7E+3
Related https://github.com/apiaryio/api-blueprint/issues/297
For
number
primitive type, specification says:I think it should be specified what
any
means. Integers only? Signed? Unsigned? Decimal points—fixed or floats?If "any" truly means "all of the above", I think it would be useful to explicitly mention it in spec.