Skip to content

Commit c509723

Browse files
committed
feat(docs): add layout property with enum options to schema definitions
1 parent 06e9d43 commit c509723

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

docs/docs.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11323,6 +11323,13 @@ const docTemplate = `{
1132311323
"type": "string",
1132411324
"maxLength": 100
1132511325
},
11326+
"layout": {
11327+
"type": "string",
11328+
"enum": [
11329+
"Full-width",
11330+
"Fixed-width"
11331+
]
11332+
},
1132611333
"theme": {
1132711334
"type": "string",
1132811335
"maxLength": 255
@@ -11339,6 +11346,9 @@ const docTemplate = `{
1133911346
"color_scheme": {
1134011347
"type": "string"
1134111348
},
11349+
"layout": {
11350+
"type": "string"
11351+
},
1134211352
"theme": {
1134311353
"type": "string"
1134411354
},

docs/swagger.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11296,6 +11296,13 @@
1129611296
"type": "string",
1129711297
"maxLength": 100
1129811298
},
11299+
"layout": {
11300+
"type": "string",
11301+
"enum": [
11302+
"Full-width",
11303+
"Fixed-width"
11304+
]
11305+
},
1129911306
"theme": {
1130011307
"type": "string",
1130111308
"maxLength": 255
@@ -11312,6 +11319,9 @@
1131211319
"color_scheme": {
1131311320
"type": "string"
1131411321
},
11322+
"layout": {
11323+
"type": "string"
11324+
},
1131511325
"theme": {
1131611326
"type": "string"
1131711327
},

docs/swagger.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,6 +2442,11 @@ definitions:
24422442
color_scheme:
24432443
maxLength: 100
24442444
type: string
2445+
layout:
2446+
enum:
2447+
- Full-width
2448+
- Fixed-width
2449+
type: string
24452450
theme:
24462451
maxLength: 255
24472452
type: string
@@ -2455,6 +2460,8 @@ definitions:
24552460
properties:
24562461
color_scheme:
24572462
type: string
2463+
layout:
2464+
type: string
24582465
theme:
24592466
type: string
24602467
theme_config:

0 commit comments

Comments
 (0)