forked from wallabag/wallabag
Re-create all API routes
This commit is contained in:
@ -7,6 +7,7 @@ use JMS\Serializer\SerializerInterface;
|
||||
use Nelmio\ApiDocBundle\Annotation\Operation;
|
||||
use Swagger\Annotations as SWG;
|
||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
class ConfigRestController extends WallabagRestController
|
||||
{
|
||||
@ -22,6 +23,8 @@ class ConfigRestController extends WallabagRestController
|
||||
* )
|
||||
* )
|
||||
*
|
||||
* @Route("/api/config.{_format}", methods={"GET"}, name="api_get_config", defaults={"_format": "json"})
|
||||
*
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function getConfigAction()
|
||||
|
||||
Reference in New Issue
Block a user