doc: swagger add auth tag

This commit is contained in:
zhangwenjian committed 2020-07-18 14:24:59 +08:00
1 parent ea3408de84
commit b9d0318b45
16 files changed
+97 -97

No files matched your search

+25 -25
View File
@@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2020-07-15 20:40:18.457047 +0800 CST m=+0.111190243
// 2020-07-17 22:43:59.920467 +0800 CST m=+0.161144112
package docs
@@ -70,7 +70,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -125,7 +125,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -156,7 +156,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -363,7 +363,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -425,7 +425,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "分页列表",
@@ -539,7 +539,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -593,7 +593,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -648,7 +648,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -751,7 +751,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -805,7 +805,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -932,7 +932,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -987,7 +987,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -1359,7 +1359,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -1416,7 +1416,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -1470,7 +1470,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -1590,7 +1590,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -1767,7 +1767,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "Get JSON",
@@ -1951,7 +1951,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -2043,7 +2043,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -2095,7 +2095,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -2212,7 +2212,7 @@ var doc = `{
"get": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取JSON",
@@ -2261,7 +2261,7 @@ var doc = `{
},
"/login": {
"post": {
"description": "获取token\nLoginHandler can be used by clients to get a jwt token.\nPayload needs to be json in the form of {\"username\": \"USERNAME\", \"password\": \"PASSWORD\"}.\nReply will be of the form {\"token\": \"TOKEN\"}.\ndev mode:It should be noted that all fields cannot be empty, and a value of 0 can be passed in addition to the account password\n开发模式:需要注意全部字段不能为空,账号密码外可以传入0值",
"description": "获取token\nLoginHandler can be used by clients to get a jwt token.\nPayload needs to be json in the form of {\"username\": \"USERNAME\", \"password\": \"PASSWORD\"}.\nReply will be of the form {\"token\": \"TOKEN\"}.\ndev mode:It should be noted that all fields cannot be empty, and a value of 0 can be passed in addition to the account password\n注意:开发模式:需要注意全部字段不能为空,账号密码外可以传入0值",
"consumes": [
"application/json"
],
@@ -2292,7 +2292,7 @@ var doc = `{
"post": {
"security": [
{
"": []
"Bearer": []
}
],
"description": "获取token",
@@ -3341,7 +3341,7 @@ type swaggerInfo struct {
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = swaggerInfo{
Version: "0.0.1",
Version: "1.0.1",
Host: "",
BasePath: "",
Schemes: []string{},