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.

add swagger

aichy9e014e178138
diff --git a/.gitignore b/.gitignore
index d4063a95..f15d090d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@
/.fleet
/.vscode/*.log
/cmd/answer/*.sh
+/cmd/answer/answer
/cmd/answer/uploads/*
/cmd/logs
/configs/config-dev.yaml
diff --git a/docs/docs.go b/docs/docs.go
index 9486300e..868dbe0a 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -5724,6 +5724,10 @@ const docTemplate = `{
"description": "created time",
"type": "integer"
},
+ "description": {
+ "description": "description text",
+ "type": "string"
+ },
"display_name": {
"description": "display name",
"type": "string"
diff --git a/docs/swagger.json b/docs/swagger.json
index 3ce7f923..e3d2f7fb 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -5712,6 +5712,10 @@
"description": "created time",
"type": "integer"
},
+ "description": {
+ "description": "description text",
+ "type": "string"
+ },
"display_name": {
"description": "display name",
"type": "string"
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index d68df764..45da2b7c 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -650,6 +650,9 @@ definitions:
created_at:
description: created time
type: integer
+ description:
+ description: description text
+ type: string
display_name:
description: display name
type: string