mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
4001503e63
* Server generator ze-ph (Zend Expressive + Path Handler) * Command line scripts for new ze-ph generator
20 lines
792 B
YAML
20 lines
792 B
YAML
dependencies:
|
|
invokables:
|
|
#Has to add this line because currently router is strict requirement for Zend\Expressive\Application even if only middleware_pipeline is used
|
|
Zend\Expressive\Router\RouterInterface: Zend\Expressive\Router\ZendRouter
|
|
Zend\Diactoros\Response\EmitterInterface: Zend\Diactoros\Response\SapiStreamEmitter
|
|
App\ErrorMiddleware: App\ErrorMiddleware
|
|
factories:
|
|
Zend\Expressive\Application: Zend\Expressive\Container\ApplicationFactory
|
|
Articus\PathHandler\Middleware: Articus\PathHandler\MiddlewareFactory
|
|
Articus\DataTransfer\Service: Articus\DataTransfer\ServiceFactory
|
|
|
|
middleware_pipeline:
|
|
api:
|
|
middleware: Articus\PathHandler\Middleware
|
|
path: /v2
|
|
error:
|
|
middleware: App\ErrorMiddleware
|
|
error: true
|
|
priority: -10000
|