docs(swagger): update swagger docs

This commit is contained in:
LinkinStars
2023-11-29 16:46:49 +08:00
parent 42b4d74d98
commit 1a7cbb780b
3 changed files with 11 additions and 61 deletions
+4 -28
View File
@@ -1,22 +1,3 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Code generated by swaggo/swag. DO NOT EDIT.
package docs
@@ -6902,12 +6883,13 @@ const docTemplate = `{
"object_id"
],
"properties": {
"bookmark": {
"type": "boolean"
},
"group_id": {
"description": "user collection group TagID",
"type": "string"
},
"object_id": {
"description": "object TagID",
"type": "string"
}
}
@@ -6916,13 +6898,7 @@ const docTemplate = `{
"type": "object",
"properties": {
"object_collection_count": {
"type": "string"
},
"object_id": {
"type": "string"
},
"switch": {
"type": "boolean"
"type": "integer"
}
}
},
+4 -9
View File
@@ -6871,12 +6871,13 @@
"object_id"
],
"properties": {
"bookmark": {
"type": "boolean"
},
"group_id": {
"description": "user collection group TagID",
"type": "string"
},
"object_id": {
"description": "object TagID",
"type": "string"
}
}
@@ -6885,13 +6886,7 @@
"type": "object",
"properties": {
"object_collection_count": {
"type": "string"
},
"object_id": {
"type": "string"
},
"switch": {
"type": "boolean"
"type": "integer"
}
}
},
+3 -24
View File
@@ -1,20 +1,3 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
definitions:
constant.NotificationChannelKey:
enum:
@@ -357,11 +340,11 @@ definitions:
type: object
schema.CollectionSwitchReq:
properties:
bookmark:
type: boolean
group_id:
description: user collection group TagID
type: string
object_id:
description: object TagID
type: string
required:
- group_id
@@ -370,11 +353,7 @@ definitions:
schema.CollectionSwitchResp:
properties:
object_collection_count:
type: string
object_id:
type: string
switch:
type: boolean
type: integer
type: object
schema.ConfigField:
properties: