Skip to content

Commit 29fdd70

Browse files
author
dphuang2
committed
add cta to portal
1 parent 52f36b0 commit 29fdd70

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

generator/konfig-dash/packages/konfig-lib/src/KonfigYamlCommon.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,13 @@ export const portal = z
191191
.describe(
192192
"List of operations to hide in Konfig's API Portal. The first key is the path and the second is the HTTP method."
193193
),
194+
cta: z
195+
.object({
196+
url: z.string(),
197+
label: z.string(),
198+
})
199+
.optional()
200+
.describe('Adds a call-to-action button at the top-right of the docs.'),
194201
hideSecurity: z
195202
.object({
196203
name: z.string(),

0 commit comments

Comments
 (0)