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
Luffy1db30228d5a1
diff --git a/docs/docs.go b/docs/docs.goindex dbaa05fb..2fb46904 100644--- a/docs/docs.go+++ b/docs/docs.go@@ -7589,6 +7589,21 @@ const docTemplate = `{},"db_username": {"type": "string"+ },+ "ssl_cert": {+ "type": "string"+ },+ "ssl_enabled": {+ "type": "boolean"+ },+ "ssl_key": {+ "type": "string"+ },+ "ssl_mode": {+ "type": "string"+ },+ "ssl_root_cert": {+ "type": "string"}}},@@ -7597,6 +7612,7 @@ const docTemplate = `{"required": ["contact_email","email",+ "external_content_display","lang","name","password",@@ -7612,6 +7628,13 @@ const docTemplate = `{"type": "string","maxLength": 500},+ "external_content_display": {+ "type": "string",+ "enum": [+ "always_display",+ "ask_before_display"+ ]+ },"lang": {"type": "string","maxLength": 30@@ -7621,7 +7644,8 @@ const docTemplate = `{},"name": {"type": "string",- "maxLength": 30+ "maxLength": 30,+ "minLength": 2},"password": {"type": "string",@@ -9796,6 +9820,9 @@ const docTemplate = `{"schema.QuestionPageRespOperator": {"type": "object","properties": {+ "avatar": {+ "type": "string"+ },"display_name": {"type": "string"},@@ -10393,6 +10420,9 @@ const docTemplate = `{"revision": {"type": "string"},+ "site_legal": {+ "$ref": "#/definitions/schema.SiteLegalSimpleResp"+ },"site_seo": {"$ref": "#/definitions/schema.SiteSeoResp"},@@ -10446,7 +10476,17 @@ const docTemplate = `{},"schema.SiteLegalReq": {"type": "object",+ "required": [+ "external_content_display"+ ],"properties": {+ "external_content_display": {+ "type": "string",+ "enum": [+ "always_display",+ "ask_before_display"+ ]+ },"privacy_policy_original_text": {"type": "string"},@@ -10463,7 +10503,17 @@ const docTemplate = `{},"schema.SiteLegalResp": {"type": "object",+ "required": [+ "external_content_display"+ ],"properties": {+ "external_content_display": {+ "type": "string",+ "enum": [+ "always_display",+ "ask_before_display"+ ]+ },"privacy_policy_original_text": {"type": "string"},@@ -10478,6 +10528,21 @@ const docTemplate = `{}}},+ "schema.SiteLegalSimpleResp": {+ "type": "object",+ "required": [+ "external_content_display"+ ],+ "properties": {+ "external_content_display": {+ "type": "string",+ "enum": [+ "always_display",+ "ask_before_display"+ ]+ }+ }+ },"schema.SiteLoginReq": {"type": "object","properties": {diff --git a/docs/swagger.json b/docs/swagger.jsonindex aa35ff90..f8a179b7 100644--- a/docs/swagger.json+++ b/docs/swagger.json@@ -7562,6 +7562,21 @@},"db_username": {"type": "string"+ },+ "ssl_cert": {+ "type": "string"+ },+ "ssl_enabled": {+ "type": "boolean"+ },+ "ssl_key": {+ "type": "string"+ },+ "ssl_mode": {+ "type": "string"+ },+ "ssl_root_cert": {+ "type": "string"}}},@@ -7570,6 +7585,7 @@"required": ["contact_email","email",+ "external_content_display","lang","name","password",@@ -7585,6 +7601,13 @@"type": "string","maxLength": 500},+ "external_content_display": {+ "type": "string",+ "enum": [+ "always_display",+ "ask_before_display"+ ]+ },"lang": {"type": "string","maxLength": 30@@ -7594,7 +7617,8 @@},"name": {"type": "string",- "maxLength": 30+ "maxLength": 30,+ "minLength": 2},"password": {"type": "string",@@ -9769,6 +9793,9 @@"schema.QuestionPageRespOperator": {"type": "object","properties": {+ "avatar": {+ "type": "string"+ },"display_name": {"type": "string"},@@ -10366,6 +10393,9 @@"revision": {"type": "string"},+ "site_legal": {+ "$ref": "#/definitions/schema.SiteLegalSimpleResp"+ },"site_seo": {"$ref": "#/definitions/schema.SiteSeoResp"},@@ -10419,7 +10449,17 @@},"schema.SiteLegalReq": {"type": "object",+ "required": [+ "external_content_display"+ ],"properties": {+ "external_content_display": {+ "type": "string",+ "enum": [+ "always_display",+ "ask_before_display"+ ]+ },"privacy_policy_original_text": {"type": "string"},@@ -10436,7 +10476,17 @@},"schema.SiteLegalResp": {"type": "object",+ "required": [+ "external_content_display"+ ],"properties": {+ "external_content_display": {+ "type": "string",+ "enum": [+ "always_display",+ "ask_before_display"+ ]+ },"privacy_policy_original_text": {"type": "string"},@@ -10451,6 +10501,21 @@}}},+ "schema.SiteLegalSimpleResp": {+ "type": "object",+ "required": [+ "external_content_display"+ ],+ "properties": {+ "external_content_display": {+ "type": "string",+ "enum": [+ "always_display",+ "ask_before_display"+ ]+ }+ }+ },"schema.SiteLoginReq": {"type": "object","properties": {diff --git a/docs/swagger.yaml b/docs/swagger.yamlindex 17ccd75b..16c5cfbb 100644--- a/docs/swagger.yaml+++ b/docs/swagger.yaml@@ -84,6 +84,16 @@ definitions:type: stringdb_username:type: string+ ssl_cert:+ type: string+ ssl_enabled:+ type: boolean+ ssl_key:+ type: string+ ssl_mode:+ type: string+ ssl_root_cert:+ type: stringrequired:- db_typetype: object@@ -95,6 +105,11 @@ definitions:email:maxLength: 500type: string+ external_content_display:+ enum:+ - always_display+ - ask_before_display+ type: stringlang:maxLength: 30type: string@@ -102,6 +117,7 @@ definitions:type: booleanname:maxLength: 30+ minLength: 2type: stringpassword:maxLength: 32@@ -116,6 +132,7 @@ definitions:required:- contact_email+ - external_content_display- lang- name- password@@ -1625,6 +1642,8 @@ definitions:type: objectschema.QuestionPageRespOperator:properties:+ avatar:+ type: stringdisplay_name:type: stringid:@@ -2035,6 +2054,8 @@ definitions:$ref: '#/definitions/schema.SiteLoginResp'revision:type: string+ site_legal:+ $ref: '#/definitions/schema.SiteLegalSimpleResp'site_seo:$ref: '#/definitions/schema.SiteSeoResp'site_users:@@ -2072,6 +2093,11 @@ definitions:type: objectschema.SiteLegalReq:properties:+ external_content_display:+ enum:+ - always_display+ - ask_before_display+ type: stringprivacy_policy_original_text:type: stringprivacy_policy_parsed_text:@@ -2080,9 +2106,16 @@ definitions:type: stringterms_of_service_parsed_text:type: string+ required:+ - external_content_displaytype: objectschema.SiteLegalResp:properties:+ external_content_display:+ enum:+ - always_display+ - ask_before_display+ type: stringprivacy_policy_original_text:type: stringprivacy_policy_parsed_text:@@ -2091,6 +2124,18 @@ definitions:type: stringterms_of_service_parsed_text:type: string+ required:+ - external_content_display+ type: object+ schema.SiteLegalSimpleResp:+ properties:+ external_content_display:+ enum:+ - always_display+ - ask_before_display+ type: string+ required:+ - external_content_displaytype: objectschema.SiteLoginReq:properties: