knuckleswtf / knuckleswtf/scribe
Sorting endpoints of the default group
- Dominant language
- PHP
- Stars
- 2.3k
- Forks
- 357
- PR merge metrics
- No merged PRs in 30d
Description
### Scribe version
4.25
### Your question
I have been trying to sort the default group's endpoints for a while now, how do i do it i tried:
'groups' => [
'default' => 'Endpoints',
'order' => [
'Endpoints' => [
'POST /oauth/token',
'*',
],
],
],
But it dosen't work, but when i moved though all my endpoints and added a group to them they were able to get sorted then. is the default group not sortable?
### Docs
- [X] I've checked [the docs](https://scribe.knuckles.wtf/laravel), the [troubleshooting guide](https://scribe.knuckles.wtf/laravel/troubleshooting), and [existing issues](https://github.com/knuckleswtf/scribe/issues?q=is%3Aissue+), but I didn't find a solution
Contributor guide
Research direction
Start by reproducing the reported `groups` configuration for the `default` group and compare it with the named-group configuration that sorts successfully. Check the Laravel documentation and troubleshooting guidance, then confirm whether default-group ordering is supported; done means the behavior is fixed or clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100