Reference
C
Class

ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener

class ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener
{
    public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null
}
class ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener
{
    public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null
}

Methods

onKernelRequest

Sets SwaggerUiAction as controller if the requested format is HTML.

public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null
public onKernelRequest(Symfony\Component\HttpKernel\Event\RequestEvent $event): null

Parameters

eventSymfony\Component\HttpKernel\Event\RequestEvent

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop