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
title=>"teelaunch api docs v1"type=>"external_laravel"theme=>"scalar"laravel.docs_url=>"/docs/v1"auth.enabled=>trueauth.default=>trueauth.name=>"apiKey"logo=>"http://teelaunch-api.test/apple-touch-icon.png"
What happened?
I'm trying to sort routes in groups/sub-groups. Groups work fine, all routes for the OrderController are sorted in the Order group but sub grouping isn't working with Scalar theme. I have switched to laravel instead of laravel_external to make sure that it is a theme issue and it is, with the normal laravel scribe theme sub groups are working.
Here is an example setup for my controllers:
/**
* @group Orders
*
* API For Managing Orders
*/
class OrderController extends Controller
/**
* Create Order
*
* This endpoint creates a new order with the given details and items.
*
* @subgroup POST
*
* @responseFile 201 responses/orders/store.json
* @response 400 {"success": false, "error": "..."}
* @response 422 {"success": false, "errors": []}
* @response 500 {"success": false, "error": "..."}
*/
public function store(Request $request)
I have found this reference in the scalar docs on how to implement sub grouping, they modify on the openapi.yaml and add an x-tagGroups key which is not generated by scribe currently.
Scribe version
4.38.0
PHP version
8.3.14
Framework
Laravel
Framework version
11.34.2
Scribe config
What happened?
I'm trying to sort routes in groups/sub-groups. Groups work fine, all routes for the
OrderController
are sorted in the Order group but sub grouping isn't working withScalar
theme. I have switched tolaravel
instead oflaravel_external
to make sure that it is a theme issue and it is, with the normal laravel scribe theme sub groups are working.Here is an example setup for my controllers:
Docs
The text was updated successfully, but these errors were encountered: