aboutsummaryrefslogtreecommitdiffstats
path: root/docs/openapi.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/openapi.yaml')
-rw-r--r--docs/openapi.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index f188d69..4e07e8a 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -127,7 +127,8 @@ paths:
Typed JSON (`application/vnd.continuum.typed+json`) writes values of every
type, tagged (`{"$timestamp": …}`, `{"$bytes": …}`, `{"$uint": …}`,
- `{"$counter": …}`, `{"$float": …}`, `{"$text": …}`, `{"$map": …}`).
+ `{"$counter": …}`, `{"$text": …}`, `{"$map": …}`); a float is a number, and
+ a number without a fraction written over a float stays one.
A scalar of another type is also written as its media type (`api.md`, Types):
`application/octet-stream` (bytes), `application/vnd.continuum.int`, `.uint`,
`.float`, `.boolean`, `.counter` (decimal or `true`/`false`), or