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/
This commit is contained in:
Julian Alimin 2018-03-07 20:57:54 +07:00 committed by GitHub
parent 8e9fd36878
commit b18d28eb1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
},
"ttl": {
"type": "number",
"format": "double",
"ttl": true,
"default": 1209600,
"description": "time to live in seconds (2 weeks by default)"