swag fmt
This commit is contained in:
21
docs/docs.go
21
docs/docs.go
@@ -30,18 +30,15 @@ const docTemplate = `{
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"example": "html.view"
|
||||
}
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"example": "html.view"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,18 +19,15 @@
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"example": "html.view"
|
||||
}
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"example": "html.view"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -149,16 +149,14 @@ paths:
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
items:
|
||||
properties:
|
||||
id:
|
||||
example: 1
|
||||
type: integer
|
||||
key:
|
||||
example: html.view
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
properties:
|
||||
id:
|
||||
example: 1
|
||||
type: integer
|
||||
key:
|
||||
example: html.view
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
|
||||
Reference in New Issue
Block a user