Skip to content

Support prefix paths in endpoint definitions #6753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ammubhave opened this issue Apr 15, 2025 · 0 comments
Open

Support prefix paths in endpoint definitions #6753

ammubhave opened this issue Apr 15, 2025 · 0 comments

Comments

@ammubhave
Copy link

Which Fern component?

SDK Generator

How important is this?

P2 - Medium (Would be helpful)

What's the feature?

We use a prefix /v1, /v2 notation for our endpoints. However each endpoint is individually versioned, similar to how Vercel does this: https://vercel.com/docs/rest-api/reference/endpoints/projects/create-a-new-project

This does not play well with the base-path, we need to write out the complete path in each endpoint's path.
It would be nice to have something like path-prefix in each endpoint where we can specify the version number. That way, we can still use the base-path, except that each endpoint can put in a version prefix.

Any alternatives?

No response

Are you interested in contributing this feature?

No

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

No branches or pull requests

1 participant