Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Controller auto-discovery #105

@johnknl

Description

@johnknl

Right now one has to manually define controller DI config. With the mantra of "minimal additional config" in mind, controllers should be auto-discoverable.

It should be fairly easy to add the controllers to the container with "autowire: true", once you tell SwaggerBundle where to find them:

swagger:
  controller_directories: [ 'src/Controllers' ] # Optional, default

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions