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-recordsc014be823b49
diff --git a/docs/docs.go b/docs/docs.goindex dc56880a..ee259828 100644--- a/docs/docs.go+++ b/docs/docs.go@@ -6554,7 +6554,8 @@ const docTemplate = `{"type": "string"},"value": {- "type": "integer"+ "type": "integer",+ "minimum": 1}}},@@ -7094,6 +7095,12 @@ const docTemplate = `{"action": {"$ref": "#/definitions/schema.UIOptionAction"},+ "class_name": {+ "type": "string"+ },+ "field_class_name": {+ "type": "string"+ },"input_type": {"type": "string"},@@ -7374,6 +7381,10 @@ const docTemplate = `{"description": "bio html","type": "string"},+ "color_scheme": {+ "description": "Color scheme",+ "type": "string"+ },"created_at": {"description": "create time","type": "integer"@@ -8161,12 +8172,14 @@ const docTemplate = `{"enum": [1,2,- 3+ 3,+ 99],"x-enum-varnames": ["PrivilegeLevel1","PrivilegeLevel2",- "PrivilegeLevel3"+ "PrivilegeLevel3",+ "PrivilegeLevelCustom"]},"schema.PrivilegeOption": {@@ -9074,6 +9087,10 @@ const docTemplate = `{"theme"],"properties": {+ "color_scheme": {+ "type": "string",+ "maxLength": 100+ },"theme": {"type": "string","maxLength": 255@@ -9087,6 +9104,9 @@ const docTemplate = `{"schema.SiteThemeResp": {"type": "object","properties": {+ "color_scheme": {+ "type": "string"+ },"theme": {"type": "string"},@@ -9435,8 +9455,13 @@ const docTemplate = `{"level"],"properties": {+ "custom_privileges": {+ "type": "array",+ "items": {+ "$ref": "#/definitions/constant.Privilege"+ }+ },"level": {- "maximum": 3,"minimum": 1,"allOf": [{@@ -9542,9 +9567,15 @@ const docTemplate = `{"schema.UpdateUserInterfaceRequest": {"type": "object","required": [+ "color_scheme","language"],"properties": {+ "color_scheme": {+ "description": "Color scheme",+ "type": "string",+ "maxLength": 100+ },"language": {"description": "language","type": "string",@@ -9652,6 +9683,9 @@ const docTemplate = `{"id": {"type": "string"},+ "language": {+ "type": "string"+ },"location": {"type": "string"},@@ -9757,6 +9791,10 @@ const docTemplate = `{"description": "bio html","type": "string"},+ "color_scheme": {+ "description": "Color scheme",+ "type": "string"+ },"created_at": {"description": "create time","type": "integer"diff --git a/docs/swagger.json b/docs/swagger.jsonindex 83bde221..d65e30bd 100644--- a/docs/swagger.json+++ b/docs/swagger.json@@ -6523,7 +6523,8 @@"type": "string"},"value": {- "type": "integer"+ "type": "integer",+ "minimum": 1}}},@@ -7063,6 +7064,12 @@"action": {"$ref": "#/definitions/schema.UIOptionAction"},+ "class_name": {+ "type": "string"+ },+ "field_class_name": {+ "type": "string"+ },"input_type": {"type": "string"},@@ -7343,6 +7350,10 @@"description": "bio html","type": "string"},+ "color_scheme": {+ "description": "Color scheme",+ "type": "string"+ },"created_at": {"description": "create time","type": "integer"@@ -8130,12 +8141,14 @@"enum": [1,2,- 3+ 3,+ 99],"x-enum-varnames": ["PrivilegeLevel1","PrivilegeLevel2",- "PrivilegeLevel3"+ "PrivilegeLevel3",+ "PrivilegeLevelCustom"]},"schema.PrivilegeOption": {@@ -9043,6 +9056,10 @@"theme"],"properties": {+ "color_scheme": {+ "type": "string",+ "maxLength": 100+ },"theme": {"type": "string","maxLength": 255@@ -9056,6 +9073,9 @@"schema.SiteThemeResp": {"type": "object","properties": {+ "color_scheme": {+ "type": "string"+ },"theme": {"type": "string"},@@ -9404,8 +9424,13 @@"level"],"properties": {+ "custom_privileges": {+ "type": "array",+ "items": {+ "$ref": "#/definitions/constant.Privilege"+ }+ },"level": {- "maximum": 3,"minimum": 1,"allOf": [{@@ -9511,9 +9536,15 @@"schema.UpdateUserInterfaceRequest": {"type": "object","required": [+ "color_scheme","language"],"properties": {+ "color_scheme": {+ "description": "Color scheme",+ "type": "string",+ "maxLength": 100+ },"language": {"description": "language","type": "string",@@ -9621,6 +9652,9 @@"id": {"type": "string"},+ "language": {+ "type": "string"+ },"location": {"type": "string"},@@ -9726,6 +9760,10 @@"description": "bio html","type": "string"},+ "color_scheme": {+ "description": "Color scheme",+ "type": "string"+ },"created_at": {"description": "create time","type": "integer"diff --git a/docs/swagger.yaml b/docs/swagger.yamlindex ca78bc49..21d72673 100644--- a/docs/swagger.yaml+++ b/docs/swagger.yaml@@ -29,6 +29,7 @@ definitions:label:type: stringvalue:+ minimum: 1type: integertype: objecthandler.RespBody:@@ -403,6 +404,10 @@ definitions:properties:action:$ref: '#/definitions/schema.UIOptionAction'+ class_name:+ type: string+ field_class_name:+ type: stringinput_type:type: stringlabel:@@ -603,6 +608,9 @@ definitions:bio_html:description: bio htmltype: string+ color_scheme:+ description: Color scheme+ type: stringcreated_at:description: create timetype: integer@@ -1156,11 +1164,13 @@ definitions:- 1- 2- 3+ - 99type: integerx-enum-varnames:- PrivilegeLevel1- PrivilegeLevel2- PrivilegeLevel3+ - PrivilegeLevelCustomschema.PrivilegeOption:properties:level:@@ -1783,6 +1793,9 @@ definitions:type: objectschema.SiteThemeReq:properties:+ color_scheme:+ maxLength: 100+ type: stringtheme:maxLength: 255type: string@@ -1794,6 +1807,8 @@ definitions:type: objectschema.SiteThemeResp:properties:+ color_scheme:+ type: stringtheme:type: stringtheme_config:@@ -2030,10 +2045,13 @@ definitions:type: objectschema.UpdatePrivilegesConfigReq:properties:+ custom_privileges:+ items:+ $ref: '#/definitions/constant.Privilege'+ type: arraylevel:allOf:- $ref: '#/definitions/schema.PrivilegeLevel'- maximum: 3minimum: 1required:- level@@ -2107,11 +2125,16 @@ definitions:type: objectschema.UpdateUserInterfaceRequest:properties:+ color_scheme:+ description: Color scheme+ maxLength: 100+ type: stringlanguage:description: languagemaxLength: 100type: stringrequired:+ - color_scheme- languagetype: objectschema.UpdateUserNotificationConfigReq:@@ -2183,6 +2206,8 @@ definitions:type: stringid:type: string+ language:+ type: stringlocation:type: stringrank:@@ -2257,6 +2282,9 @@ definitions:bio_html:description: bio htmltype: string+ color_scheme:+ description: Color scheme+ type: stringcreated_at:description: create timetype: integer