Skip to content

Commit

Permalink
Use integer instead of number in config JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 21, 2020
1 parent 8e4d58c commit 544a142
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .schemas/config.schema.json
Expand Up @@ -138,7 +138,7 @@
"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."
Expand Down Expand Up @@ -191,7 +191,7 @@
"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
Expand Down Expand Up @@ -867,7 +867,7 @@
"additionalProperties": false,
"properties": {
"port": {
"type": "number",
"type": "integer",
"default": 4456,
"title": "Port",
"description": "The port to listen on."
Expand Down Expand Up @@ -896,7 +896,7 @@
"additionalProperties": false,
"properties": {
"port": {
"type": "number",
"type": "integer",
"default": 4455,
"title": "Port",
"description": "The port to listen on."
Expand Down

0 comments on commit 544a142

Please sign in to comment.