Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

docs(swagger): update swagger docs

LinkinStars1a7cbb780bed
diff --git a/docs/docs.go b/docs/docs.go
index 897fcd66..4cbf5956 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -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"
}
}
},
diff --git a/docs/swagger.json b/docs/swagger.json
index 48b6283e..5930b339 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -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"
}
}
},
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 851e8a86..34f49144 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -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: