Generates the API documentation.
class ApiPlatform\Symfony\Action\DocumentationAction
{
public __construct($resourceNameCollectionFactory, string $title, string $description, string $version, null|`<a href="/docs/main/references/OpenApi/Factory/OpenApiFactoryInterface">ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface</a>` $openApiFactory, null|`<a href="/docs/main/references/State/ProviderInterface">ApiPlatform\State\ProviderInterface</a>` $provider, null|`<a href="/docs/main/references/State/ProcessorInterface">ApiPlatform\State\ProcessorInterface $processor, null|Negotiation\Negotiator $negotiator, array $documentationFormats)
public __invoke(null|Symfony\Component\HttpFoundation\Request $request): |`<a href="/docs/main/references/OpenApi/OpenApi">ApiPlatform\OpenApi\OpenApi|Symfony\Component\HttpFoundation\Response
}
public __construct($resourceNameCollectionFactory, string $title, string $description, string $version, null|`<a href="/docs/main/references/OpenApi/Factory/OpenApiFactoryInterface">ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface</a>` $openApiFactory, null|`<a href="/docs/main/references/State/ProviderInterface">ApiPlatform\State\ProviderInterface</a>` $provider, null|`<a href="/docs/main/references/State/ProcessorInterface">ApiPlatform\State\ProcessorInterface $processor, null|Negotiation\Negotiator $negotiator, array $documentationFormats)
resourceNameCollectionFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface` | |
title | string | |
description | string | |
version | string | |
openApiFactory | `ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface` | |
provider | `ApiPlatform\State\ProviderInterface` | |
processor | `ApiPlatform\State\ProcessorInterface` | |
negotiator | Negotiation\Negotiator | |
documentationFormats | array |
public __invoke(null|Symfony\Component\HttpFoundation\Request $request): |`<a href="/docs/main/references/OpenApi/OpenApi">ApiPlatform\OpenApi\OpenApi|Symfony\Component\HttpFoundation\Response
request | Symfony\Component\HttpFoundation\Request |
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