# NOTE: This file is auto generated by the openapi generator program.
# https://github.com/openapitools/openapi-generator
# Do not edit the class manually.

parameters:
    open_api_server.serializer: 'OpenAPI\Server\Service\JmsSerializer'
    open_api_server.validator:  'OpenAPI\Server\Service\SymfonyValidator'

services:
    open_api_server.api.api_server:
        class: OpenAPI\Server\Api\ApiServer

    open_api_server.model.model_serializer:
        class: OpenAPI\Server\Model\ModelSerializer

    open_api_server.service.serializer:
        class: '%open_api_server.serializer%'

    open_api_server.service.validator:
        class: '%open_api_server.validator%'
        arguments:
            - '@validator'

    open_api_server.controller.pet:
        class: OpenAPI\Server\Controller\PetController
        calls:
         - [setSerializer, ['@open_api_server.service.serializer']]
         - [setValidator,  ['@open_api_server.service.validator']]
         - [setApiServer,  ['@open_api_server.api.api_server']]
        tags: ['controller.service_arguments']
        autowire: true

    open_api_server.controller.store:
        class: OpenAPI\Server\Controller\StoreController
        calls:
         - [setSerializer, ['@open_api_server.service.serializer']]
         - [setValidator,  ['@open_api_server.service.validator']]
         - [setApiServer,  ['@open_api_server.api.api_server']]
        tags: ['controller.service_arguments']
        autowire: true

    open_api_server.controller.user:
        class: OpenAPI\Server\Controller\UserController
        calls:
         - [setSerializer, ['@open_api_server.service.serializer']]
         - [setValidator,  ['@open_api_server.service.validator']]
         - [setApiServer,  ['@open_api_server.api.api_server']]
        tags: ['controller.service_arguments']
        autowire: true

