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

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

@@ -458,7 +458,7 @@
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegisterAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStruct"
}
}
],
@@ -542,7 +542,7 @@
}
}
},
"/casbin/casbinPUpdate": {
"/casbin/UpdateCasbin": {
"post": {
"security": [
{
@@ -1239,7 +1239,7 @@
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegisterAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStruct"
}
}
],
@@ -1275,7 +1275,7 @@
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegisterAndLoginStuct"
"$ref": "#/definitions/api.RegisterAndLoginStruct"
}
}
],
@@ -1735,7 +1735,7 @@
}
}
},
"api.RegisterAndLoginStuct": {
"api.RegisterAndLoginStruct": {
"type": "object",
"properties": {
"captcha": {