This is an automated email from the ASF dual-hosted git repository. kumfo pushed a commit to branch feat/1.8.0/menu in repository https://gitbox.apache.org/repos/asf/answer.git
commit c56d5edd280cbd7e37ab385a4744e520b0684b14 Author: kumfo <[email protected]> AuthorDate: Thu Jan 22 15:08:49 2026 +0800 feat(docs): add layout property with enum options to schema definitions --- docs/docs.go | 10 ++++++++++ docs/swagger.json | 10 ++++++++++ docs/swagger.yaml | 7 +++++++ 3 files changed, 27 insertions(+) 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:
