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:
parent
8e9fd36878
commit
b18d28eb1b
|
@ -7,6 +7,7 @@
|
|||
},
|
||||
"ttl": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"ttl": true,
|
||||
"default": 1209600,
|
||||
"description": "time to live in seconds (2 weeks by default)"
|
||||
|
|
Loading…
Reference in New Issue