You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating docs, the custom route matcher is not called. I am using a custom configuration file scribe-v1 with the --config option when generating. Generating itself works fine but its not using my custom route matcher. I've tried to find where that config option is being read but couldn't find anything.
I think it doesn't work because it's looking for scribe (so it doesn't support custom config).
I don't really like that config option anyway. Will probably deprecate it in future. I'm thinking, maybe it's better to just bind your preferred object yourself? Something like:
Although you have to ensure it's in a service provider loaded after Scribe's (or use contextual binding: when(GenerateDocumentation)->needs(...)->give(...)).
Scribe version
4.25.0
PHP version
8.2.9
Framework
Laravel
Framework version
10.26.2
Scribe config
What happened?
When generating docs, the custom route matcher is not called. I am using a custom configuration file
scribe-v1
with the--config
option when generating. Generating itself works fine but its not using my custom route matcher. I've tried to find where that config option is being read but couldn't find anything.Docs
The text was updated successfully, but these errors were encountered: