PHP Class ApiPlatform\Core\Bridge\Symfony\Bundle\EventListener\SwaggerUiListener

Afficher le fichier Open project: api-platform/core Class Usage Examples

Méthodes publiques

Méthode Description
onKernelRequest ( GetResponseEvent $event ) Sets SwaggerUiAction as controller if the requested format is HTML.

Method Details

onKernelRequest() public méthode

Sets SwaggerUiAction as controller if the requested format is HTML.
public onKernelRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent GetResponseEvent