change docs

This commit is contained in:
zhuyasen
2023-09-07 22:22:10 +08:00
parent 84039ef380
commit 1ce3dbd294
12 changed files with 118 additions and 10 deletions

View File

@@ -253,6 +253,38 @@ const docTemplate = `{
}
}
},
"/codes": {
"get": {
"description": "list error codes info",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"system"
],
"summary": "list error codes info",
"responses": {}
}
},
"/config": {
"get": {
"description": "show config info",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"system"
],
"summary": "show config info",
"responses": {}
}
},
"/health": {
"get": {
"description": "check health",