Skip to content

feat: Add specInfoPagePath configuration option#1304

Closed
omonk wants to merge 0 commit into
PaloAltoNetworks:mainfrom
omonk:main
Closed

feat: Add specInfoPagePath configuration option#1304
omonk wants to merge 0 commit into
PaloAltoNetworks:mainfrom
omonk:main

Conversation

@omonk

@omonk omonk commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

Description

This allows users to customise the URL path of the info page independently from the title that is rendered on the page.

Motivation and Context

Due to reasons we have had to change the title of our API spec, however this has a knock-on effect as the title of the spec dictates the path/URL of the file which is generated. The initial decision to use a kebab cased info.title is a sound one but this new requirement reveals itself once a spec has been in production for a while and some foundational changes need to be made.

To avoid having to deal with redirects I've updated the configuration to allow users to pass their own path to the config so they can change the resulting path.

How Has This Been Tested?

Tests updated

Screenshots (if appropriate)

N/A

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant