Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Clarify meaning of number #50

Open
Almad opened this issue Feb 11, 2016 · 2 comments
Open

Clarify meaning of number #50

Almad opened this issue Feb 11, 2016 · 2 comments

Comments

@Almad
Copy link

Almad commented Feb 11, 2016

For number primitive type, specification says:

Specifies any number.

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.

@honzajavorek
Copy link
Contributor

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

@zdne
Copy link
Contributor

zdne commented Feb 23, 2016

Related apiaryio/api-blueprint#297

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants