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.

chore: sync swagger

sy-records48c238785359
diff --git a/cmd/wire_gen.go b/cmd/wire_gen.go
index 537ece84..f5a3f900 100644
--- a/cmd/wire_gen.go
+++ b/cmd/wire_gen.go
@@ -1,6 +1,3 @@
-//go:build !wireinject
-// +build !wireinject
-
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -23,6 +20,8 @@
// Code generated by Wire. DO NOT EDIT.
//go:generate go run github.com/google/wire/cmd/wire
+//go:build !wireinject
+// +build !wireinject
package answercmd
diff --git a/docs/docs.go b/docs/docs.go
index 69078bf4..e461c3a9 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -11559,12 +11559,12 @@ const docTemplate = `{
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
- Version: "= \"v0.0.1\"",
+ Version: "",
Host: "",
- BasePath: "= \"/\"",
+ BasePath: "/",
Schemes: []string{},
- Title: "\"apache answer\"",
- Description: "= \"apache answer api\"",
+ Title: "Apache Answer",
+ Description: "Apache Answer API",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
diff --git a/docs/swagger.json b/docs/swagger.json
index 4ca27f0a..322a87ad 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -1,12 +1,11 @@
{
"swagger": "2.0",
"info": {
- "description": "= \"apache answer api\"",
- "title": "\"apache answer\"",
- "contact": {},
- "version": "= \"v0.0.1\""
+ "description": "Apache Answer API",
+ "title": "Apache Answer",
+ "contact": {}
},
- "basePath": "= \"/\"",
+ "basePath": "/",
"paths": {
"/": {
"get": {
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index b9c36562..66a594d5 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-basePath: = "/"
+basePath: /
definitions:
constant.NotificationChannelKey:
enum:
@@ -2910,9 +2910,8 @@ definitions:
type: object
info:
contact: {}
- description: = "apache answer api"
- title: '"apache answer"'
- version: = "v0.0.1"
+ description: Apache Answer API
+ title: Apache Answer
paths:
/:
get: