Displays the swaggerui interface.
class ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiAction
{
public __construct($resourceMetadataFactory, null|Twig\Environment $twig, Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, `<a href="/docs/main/references/OpenApi/Factory/OpenApiFactoryInterface">ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface</a>` $openApiFactory, `<a href="/docs/main/references/OpenApi/Options">ApiPlatform\OpenApi\Options</a>` $openApiOptions, `<a href="/docs/main/references/Symfony/Bundle/SwaggerUi/SwaggerUiContext">ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiContext $swaggerUiContext, array $formats, null|string $oauthClientId, null|string $oauthClientSecret, bool $oauthPkce)
public __invoke(Symfony\Component\HttpFoundation\Request $request): Symfony\Component\HttpFoundation\Response
}
public __construct($resourceMetadataFactory, null|Twig\Environment $twig, Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, `<a href="/docs/main/references/OpenApi/Factory/OpenApiFactoryInterface">ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface</a>` $openApiFactory, `<a href="/docs/main/references/OpenApi/Options">ApiPlatform\OpenApi\Options</a>` $openApiOptions, `<a href="/docs/main/references/Symfony/Bundle/SwaggerUi/SwaggerUiContext">ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiContext $swaggerUiContext, array $formats, null|string $oauthClientId, null|string $oauthClientSecret, bool $oauthPkce)
resourceMetadataFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface` | |
twig | Twig\Environment | |
urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface | |
normalizer | Symfony\Component\Serializer\Normalizer\NormalizerInterface | |
openApiFactory | `ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface` | |
openApiOptions | `ApiPlatform\OpenApi\Options` | |
swaggerUiContext | `ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiContext` | |
formats | array | |
oauthClientId | string | |
oauthClientSecret | string | |
oauthPkce | bool |
public __invoke(Symfony\Component\HttpFoundation\Request $request): Symfony\Component\HttpFoundation\Response
request | Symfony\Component\HttpFoundation\Request |
Symfony\Component\HttpFoundation\Response
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