方法添加注释,中文版注释

This commit is contained in:
rainyan
2020-04-05 22:23:17 +08:00
parent c755120c8d
commit 13c30d4c55
27 changed files with 457 additions and 150 deletions

View File

@@ -475,7 +475,7 @@ var doc = `{
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegisterAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStruct"
}
}
],
@@ -559,7 +559,7 @@ var doc = `{
}
}
},
"/casbin/casbinPUpdate": {
"/casbin/UpdateCasbin": {
"post": {
"security": [
{
@@ -1256,7 +1256,7 @@ var doc = `{
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegisterAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStruct"
}
}
],
@@ -1292,7 +1292,7 @@ var doc = `{
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegisterAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStruct"
}
}
],
@@ -1752,7 +1752,7 @@ var doc = `{
}
}
},
"api.RegisterAndLoginStuct": {
"api.RegisterAndLoginStruct": {
"type": "object",
"properties": {
"captcha": {