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.

feat(docs): add layout property with enum options to schema definitions

kumfoc509723f295a
diff --git a/docs/docs.go b/docs/docs.go
index cfe48366..0cd06429 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -11323,6 +11323,13 @@ const docTemplate = `{
"type": "string",
"maxLength": 100
},
+ "layout": {
+ "type": "string",
+ "enum": [
+ "Full-width",
+ "Fixed-width"
+ ]
+ },
"theme": {
"type": "string",
"maxLength": 255
@@ -11339,6 +11346,9 @@ const docTemplate = `{
"color_scheme": {
"type": "string"
},
+ "layout": {
+ "type": "string"
+ },
"theme": {
"type": "string"
},
diff --git a/docs/swagger.json b/docs/swagger.json
index c181109d..a59867f9 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -11296,6 +11296,13 @@
"type": "string",
"maxLength": 100
},
+ "layout": {
+ "type": "string",
+ "enum": [
+ "Full-width",
+ "Fixed-width"
+ ]
+ },
"theme": {
"type": "string",
"maxLength": 255
@@ -11312,6 +11319,9 @@
"color_scheme": {
"type": "string"
},
+ "layout": {
+ "type": "string"
+ },
"theme": {
"type": "string"
},
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 13e9575e..426f5332 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -2442,6 +2442,11 @@ definitions:
color_scheme:
maxLength: 100
type: string
+ layout:
+ enum:
+ - Full-width
+ - Fixed-width
+ type: string
theme:
maxLength: 255
type: string
@@ -2455,6 +2460,8 @@ definitions:
properties:
color_scheme:
type: string
+ layout:
+ type: string
theme:
type: string
theme_config: