文档修复

This commit is contained in:
pixel
2019-09-22 17:09:38 +08:00
parent dce64e7079
commit b589452c8c
5 changed files with 29 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2019-09-22 15:52:19.9796956 +0800 CST m=+0.472771301
// 2019-09-22 17:09:11.1201116 +0800 CST m=+0.066820301
package docs
@@ -42,7 +42,7 @@ var doc = `{
"tags": [
"Api"
],
"summary": "为指定角色创建api",
"summary": "创建基础api",
"parameters": [
{
"description": "创建api",
@@ -81,7 +81,7 @@ var doc = `{
"tags": [
"Api"
],
"summary": "删除指定角色api",
"summary": "删除指定api",
"parameters": [
{
"description": "删除api",
@@ -782,7 +782,12 @@ var doc = `{
}
},
"api.DeleteApiParams": {
"type": "object"
"type": "object",
"properties": {
"path": {
"type": "integer"
}
}
},
"api.DeleteAuthorityPatams": {
"type": "object",

View File

@@ -25,7 +25,7 @@
"tags": [
"Api"
],
"summary": "为指定角色创建api",
"summary": "创建基础api",
"parameters": [
{
"description": "创建api",
@@ -64,7 +64,7 @@
"tags": [
"Api"
],
"summary": "删除指定角色api",
"summary": "删除指定api",
"parameters": [
{
"description": "删除api",
@@ -765,7 +765,12 @@
}
},
"api.DeleteApiParams": {
"type": "object"
"type": "object",
"properties": {
"path": {
"type": "integer"
}
}
},
"api.DeleteAuthorityPatams": {
"type": "object",

View File

@@ -47,6 +47,9 @@ definitions:
type: string
type: object
api.DeleteApiParams:
properties:
path:
type: integer
type: object
api.DeleteAuthorityPatams:
properties:
@@ -130,7 +133,7 @@ paths:
type: string
security:
- ApiKeyAuth: []
summary: 为指定角色创建api
summary: 创建基础api
tags:
- Api
/api/deleteApi:
@@ -154,7 +157,7 @@ paths:
type: string
security:
- ApiKeyAuth: []
summary: 删除指定角色api
summary: 删除指定api
tags:
- Api
/api/getApiList: