-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
2nd config for different api set for mobile not working #682
Comments
Issue is that the route generated is not dynamic to the config set. ` Route::middleware($middleware)
` |
Thanks.
Because I looked in vendor and saw config this was my immediate thought to
create another configuration and it would automatically work.
I'll give this a try.
…On Fri, 09 Jun 2023, 17:51 Shalvah, ***@***.***> wrote:
It's stated in the docs:
[image: Screenshot_20230609-164939~2]
<https://user-images.githubusercontent.com/14361073/244743032-f3a63cdb-769a-4565-b761-5b115bfa048c.png>
Maybe I should move it to the beginning of the section so it's more
obvious?
—
Reply to this email directly, view it on GitHub
<#682 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYXYBUX65UPNYTOMXG4T63XKNBADANCNFSM6AAAAAAZAP62MY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@shalvah I tried what was described in docs and i tried this way in routes before the other issues and i get the following: If i set both to false in config then all works. |
Had to add two more routes to get openapi and postman.
|
Scribe version
4.21.2
PHP version
8.2.6
Framework
Laravel
Framework version
10.13.2
Scribe config
What happened?
php artisan scribe:config --config=mobile_scribe
I created another config to generate another doc to separate my routes for mobile.
It doesnt generate the routes for
laravel
. 404 not found.Docs
The text was updated successfully, but these errors were encountered: