Add missing json schema types

This commit is contained in:
Jamie Curnow
2023-05-31 16:34:20 +10:00
parent 63845377d9
commit adf0030b1c
44 changed files with 60 additions and 44 deletions

View File

@ -7,34 +7,28 @@
"version": {
"type": "string",
"description": "Version",
"example": "3.0.0",
"minLength": 1
},
"commit": {
"type": "string",
"description": "Commit hash",
"example": "946b88f",
"minLength": 7
},
"healthy": {
"type": "boolean",
"description": "Healthy?",
"example": true
"description": "Healthy?"
},
"setup": {
"type": "boolean",
"description": "Is the application set up?",
"example": true
"description": "Is the application set up?"
},
"error_reporting": {
"type": "boolean",
"description": "Will the application send any error reporting?",
"example": true
"description": "Will the application send any error reporting?"
},
"acme.sh": {
"type": "string",
"description": "Acme.sh version",
"example": "v3.0.0",
"minLength": 1
}
}

View File

@ -7,13 +7,11 @@
"expires": {
"type": "number",
"description": "Token Expiry Unix Time",
"example": 1566540249,
"minimum": 1
},
"token": {
"type": "string",
"description": "JWT Token",
"example": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.ey...xaHKYr3Kk6MvkUjcC4"
"description": "JWT Token"
}
}
}