embed version in binary

This commit is contained in:
Hayden 2022-09-13 20:06:07 -08:00
parent ca36e3b080
commit 0b92d57b85
10 changed files with 87 additions and 9 deletions

View file

@ -821,6 +821,9 @@ const docTemplate = `{
"types.ApiSummary": {
"type": "object",
"properties": {
"build": {
"$ref": "#/definitions/types.Build"
},
"health": {
"type": "boolean"
},
@ -838,6 +841,20 @@ const docTemplate = `{
}
}
},
"types.Build": {
"type": "object",
"properties": {
"build_time": {
"type": "string"
},
"commit": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"types.DocumentOut": {
"type": "object",
"properties": {