mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-07-16 13:55:21 +00:00
Auto-generate an OpenAPI 3.1 spec from the v1 API's FormRequests and Resources (no annotations) for publishing at api-docs.invoiceshelf.com as a static Swagger UI site. - config/scramble.php: scope to api/v1, version from version.md, clean placeholder server, export to public/openapi.json - ScrambleServiceProvider: advertise Bearer (Sanctum) auth; add the required `company` tenancy header only to routes using the `company` middleware - OpenApiDocumentationTest: assert spec shape, auth scheme, company-header gating - .github/workflows/openapi.yml: export + commit spec on release, notify the api-docs site to rebuild - public/openapi.json: generated seed spec (184 paths) - dedoc/scramble added as a dev-only dependency Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
26 lines
752 B
PHP
26 lines
752 B
PHP
<?php
|
|
|
|
use App\Providers\AiServiceProvider;
|
|
use App\Providers\AppConfigProvider;
|
|
use App\Providers\AppServiceProvider;
|
|
use App\Providers\DriverRegistryProvider;
|
|
use App\Providers\DropboxServiceProvider;
|
|
use App\Providers\PdfServiceProvider;
|
|
use App\Providers\RouteServiceProvider;
|
|
use App\Providers\ScrambleServiceProvider;
|
|
use App\Providers\ViewServiceProvider;
|
|
use App\Support\Hashids\HashidsServiceProvider;
|
|
|
|
return [
|
|
HashidsServiceProvider::class,
|
|
AppServiceProvider::class,
|
|
RouteServiceProvider::class,
|
|
DropboxServiceProvider::class,
|
|
ViewServiceProvider::class,
|
|
PdfServiceProvider::class,
|
|
DriverRegistryProvider::class,
|
|
AiServiceProvider::class,
|
|
AppConfigProvider::class,
|
|
ScrambleServiceProvider::class,
|
|
];
|