From b18d28eb1bf99331204801ea07709e25f04e02ac Mon Sep 17 00:00:00 2001 From: Julian Alimin Date: Wed, 7 Mar 2018 20:57:54 +0700 Subject: [PATCH] change format to double for prevalued JavaScript value Since the default value is set as a JavaScript Number so the result should be double as per Swagger Specification "Floating-point numbers with double precision." https://swagger.io/docs/specification/data-models/data-types/ --- common/models/access-token.json | 1 + 1 file changed, 1 insertion(+) diff --git a/common/models/access-token.json b/common/models/access-token.json index 9e3d4d46..bd726081 100644 --- a/common/models/access-token.json +++ b/common/models/access-token.json @@ -7,6 +7,7 @@ }, "ttl": { "type": "number", + "format": "double", "ttl": true, "default": 1209600, "description": "time to live in seconds (2 weeks by default)"