References DocumentationAction
Reference
C
Class

ApiPlatform\Documentation\Action\DocumentationAction

Generates the API documentation.

Methods

__construct

Parameters

resourceNameCollectionFactory`ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface`
titlestring
descriptionstring
versionstring
openApiFactory`ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface`
provider`ApiPlatform\State\ProviderInterface`
processor`ApiPlatform\State\ProcessorInterface`
negotiatorNegotiation\Negotiator
documentationFormatsarray

__invoke

public __invoke(null|Symfony\Component\HttpFoundation\Request $request): |`<a href="/docs/main/references/OpenApi/OpenApi">ApiPlatform\OpenApi\OpenApi|Symfony\Component\HttpFoundation\Response

Parameters

requestSymfony\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

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop