References SwaggerUiListener
Reference
C
Class

ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener

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

Parameters

eventSymfony\Component\HttpKernel\Event\RequestEvent

Returns

null

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop