* open up API for plugins by removing internal * use constants in entity column definition * simplified entity management API * bump packages * allow installing assets and run database migrations independently * bump to apidoc-bundle 5 * do not duplicate http method in API operationId * new security entries in Open API definition * changed API UI provider for Swagger to Stoplight, improved endpoint titles, hide internal endpoints * deactivate swagger json endpoint
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
controllers:
|
|
resource: ../src/Controller/
|
|
type: attribute
|
|
prefix: /{_locale}
|
|
defaults:
|
|
_locale: '%locale%'
|
|
|
|
api.swagger_ui:
|
|
path: /api/doc
|
|
methods: GET
|
|
defaults: { _controller: nelmio_api_doc.controller.stoplight }
|
|
|
|
api:
|
|
resource: ../src/API/
|
|
type: attribute
|
|
prefix: /api
|
|
|
|
auth:
|
|
resource: ../src/Controller/Auth/
|
|
type: attribute
|
|
prefix: /auth
|
|
|
|
security:
|
|
resource: ../src/Controller/Security/
|
|
type: attribute
|
|
prefix: /{_locale}
|
|
defaults:
|
|
_locale: '%locale%'
|
|
|
|
kernel:
|
|
resource: ../src/Kernel.php
|
|
type: attribute
|
|
|
|
home:
|
|
path: /
|
|
defaults:
|
|
_controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
|
|
route: homepage
|
|
permanent: true
|
|
|
|
homeLocale:
|
|
path: /{_locale}
|
|
defaults:
|
|
_controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
|
|
_locale: '%locale%'
|
|
route: homepage
|
|
permanent: true
|
|
|
|
2fa_login:
|
|
path: /{_locale}/auth/2fa
|
|
defaults:
|
|
_controller: "scheb_two_factor.form_controller::form"
|
|
|
|
2fa_login_check:
|
|
path: /{_locale}/auth/2fa_check
|