Skip to content
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

Use route prefix in baseUrl #939

Open
1 task done
robin-dongbin opened this issue Jan 20, 2025 · 0 comments
Open
1 task done

Use route prefix in baseUrl #939

robin-dongbin opened this issue Jan 20, 2025 · 0 comments

Comments

@robin-dongbin
Copy link

Scribe version

4.39.0

Your question

If all the api route has api prefix, how can I set it in baseUrl?
For now when I set it in config 'base_url' => config('app.url').'/api', the url generated will be http://domain/api/api/login

I'm using the openapi-ts tool for requests, and I don't want to fill in the same prefix every time

Docs

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

No branches or pull requests

1 participant