Add a warning when the version does not match the latest release (#442)
Some checks failed
Docker publish rootless / build-rootless (push) Waiting to run
Docker publish / build (push) Waiting to run
Update Currencies / update-currencies (push) Waiting to run
Docker publish ARM / build (push) Has been cancelled
Docker publish rootless ARM / build-rootless (push) Has been cancelled
Dockerhub publish / build (push) Has been cancelled

This commit is contained in:
Tonya
2025-01-04 19:22:25 +00:00
committed by GitHub
parent a4e94ddf7a
commit 9cf244c933
16 changed files with 200 additions and 12 deletions

View File

@@ -2950,6 +2950,17 @@ const docTemplate = `{
}
}
},
"services.Latest": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"services.UserRegistration": {
"type": "object",
"properties": {
@@ -2982,6 +2993,9 @@ const docTemplate = `{
"health": {
"type": "boolean"
},
"latest": {
"$ref": "#/definitions/services.Latest"
},
"message": {
"type": "string"
},