add rest api
All checks were successful
/ ls (pull_request) Successful in 1m30s
/ ls (push) Successful in 1m27s
/ ls (release) Successful in 59s

This commit is contained in:
lubiana 2025-02-02 21:15:07 +01:00
parent 2b5d943116
commit d92a63fd7d
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
15 changed files with 2415 additions and 281 deletions

View file

@ -0,0 +1,20 @@
<?php declare(strict_types=1);
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
$containerConfigurator->extension('api_platform', [
'title' => 'Hello API Platform',
'version' => '1.0.0',
'defaults' => [
'stateless' => true,
'cache_headers' => [
'vary' => [
'Content-Type',
'Authorization',
'Origin',
],
],
],
]);
};