diff --git a/packages/cli/cli/versions.yml b/packages/cli/cli/versions.yml index 460fe255e76..ba934a83129 100644 --- a/packages/cli/cli/versions.yml +++ b/packages/cli/cli/versions.yml @@ -1,3 +1,9 @@ +- changelogEntry: + - summary: Fixes bug introduced in 0.45.0-rc33 where version slugs were not being generated correctly. + type: fix + irVersion: 53 + version: 0.45.0-rc41 + - changelogEntry: - summary: | Fixed bug in the Conjure importer where query parameters were overwritten during endpoint parameter parsing. diff --git a/packages/cli/docs-resolver/src/DocsDefinitionResolver.ts b/packages/cli/docs-resolver/src/DocsDefinitionResolver.ts index 508e840c5d6..aae787a669f 100644 --- a/packages/cli/docs-resolver/src/DocsDefinitionResolver.ts +++ b/packages/cli/docs-resolver/src/DocsDefinitionResolver.ts @@ -453,7 +453,7 @@ export class DocsDefinitionResolver { isDefault: boolean ): Promise { const id = this.#idgen.get(version.version); - const slug = parentSlug.setVersionSlug(version.version); + const slug = parentSlug.setVersionSlug(version.slug ?? kebabCase(version.version)); const child = version.navigation.type === "tabbed" ? await this.convertTabbedNavigation(id, version.navigation.items, slug)