1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-03-15 18:50:06 +01:00
openstamanager/config/jsonapi.php
Maicol Battistini a350e4b068
feat: Aggiunta JSON API avanzata
La vecchia JSON API custom verrà rimossa successivamente, quando quella nuova avrà un'interfaccia stabile per i moduli
2022-02-01 15:43:10 +01:00

33 lines
1.1 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Root Namespace
|--------------------------------------------------------------------------
|
| The root JSON:API namespace, within your application's namespace.
| This is used when generating any class that does not sit *within*
| a server's namespace. For example, new servers and filters.
|
| By default this is set to `JsonApi` which means the root namespace
| will be `\App\JsonApi`, if your application's namespace is `App`.
*/
'namespace' => 'JsonApi',
/*
|--------------------------------------------------------------------------
| Servers
|--------------------------------------------------------------------------
|
| A list of the JSON:API compliant APIs in your application, referred to
| as "servers". They must be listed below, with the array key being the
| unique name for each server, and the value being the fully-qualified
| class name of the server class.
*/
'servers' => [
'v1' => \App\JsonApi\V1\Server::class,
],
];