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