swagger-bundle
swagger-bundle copied to clipboard
Controller auto-discovery
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