Use integer instead of number in config JSON schema
"description": "Indicates whether the request can include user credentials like cookies, HTTP authentication or client side SSL certificates."
},
"max_age": {
- "type": "number",
+ "type": "integer",
"default": 0,
"title": "Maximum Age",
"description": "Indicates how long (in seconds) the results of a preflight request can be cached. The default is 0 which stands for no max age."
"code": {
"title": "HTTP Redirect Status Code",
"description": "Defines the HTTP Redirect status code which can bei 301 (Moved Permanently) or 302 (Found).",
- "type": "number",
+ "type": "integer",
"enum": [
301,
302
"additionalProperties": false,
"properties": {
"port": {
- "type": "number",
+ "type": "integer",
"default": 4456,
- "examples": [4456],
"title": "Port",
- "description": "The port to listen on.",
- "minimum": 1,
- "maximum": 65535
+ "description": "The port to listen on."
},
"host": {
"type": "string",
"additionalProperties": false,
"properties": {
"port": {
- "type": "number",
+ "type": "integer",
"default": 4455,
- "examples": [4455],
"title": "Port",
- "description": "The port to listen on.",
- "minimum": 1,
- "maximum": 65535
+ "description": "The port to listen on."
},
"host": {
"type": "string",
