From 10082c86d1708dbc3a75cd2bd5007d5ddf7751f5 Mon Sep 17 00:00:00 2001 From: Rohin Bhargava Date: Wed, 2 Oct 2024 15:03:30 -0400 Subject: [PATCH] add optionality to canonical-url --- fern/apis/fdr/definition/docs/latest/frontmatter.yml | 2 +- .../resources/latest/resources/frontmatter/types/Frontmatter.ts | 2 +- .../latest/resources/frontmatter/types/Frontmatter.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fern/apis/fdr/definition/docs/latest/frontmatter.yml b/fern/apis/fdr/definition/docs/latest/frontmatter.yml index 20d0c76429..c218ab5bcc 100644 --- a/fern/apis/fdr/definition/docs/latest/frontmatter.yml +++ b/fern/apis/fdr/definition/docs/latest/frontmatter.yml @@ -64,7 +64,7 @@ types: type: optional docs: Use subtitle instead. canonical-url: - type: string + type: optional docs: The canonical URL of the page. This is used for the tag in the HTML. Layout: diff --git a/packages/fdr-sdk/src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.ts b/packages/fdr-sdk/src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.ts index 90a49bf653..0d0e6886c6 100644 --- a/packages/fdr-sdk/src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.ts +++ b/packages/fdr-sdk/src/client/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.ts @@ -44,5 +44,5 @@ export interface Frontmatter /** Use subtitle instead. */ excerpt: string | undefined; /** The canonical URL of the page. This is used for the tag in the HTML. */ - "canonical-url": string; + "canonical-url": string | undefined; } diff --git a/servers/fdr/src/api/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.d.ts b/servers/fdr/src/api/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.d.ts index 67ffad6266..c78075ee2b 100644 --- a/servers/fdr/src/api/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.d.ts +++ b/servers/fdr/src/api/generated/api/resources/docs/resources/latest/resources/frontmatter/types/Frontmatter.d.ts @@ -40,5 +40,5 @@ export interface Frontmatter extends FernRegistry.docs.latest.WithMetadataConfig /** Use subtitle instead. */ excerpt: string | undefined; /** The canonical URL of the page. This is used for the tag in the HTML. */ - "canonical-url": string; + "canonical-url": string | undefined; }