Reference
C
Class

ApiPlatform\Documentation\Action\DocumentationAction

Generates the API documentation.

class ApiPlatform\Documentation\Action\DocumentationAction
{
    public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, string $title, string $description, string $version, null|ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface $openApiFactory)
    public __invoke(null|Symfony\Component\HttpFoundation\Request $request): ApiPlatform\Documentation\DocumentationInterface|ApiPlatform\OpenApi\OpenApi
}
class ApiPlatform\Documentation\Action\DocumentationAction
{
    public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, string $title, string $description, string $version, null|ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface $openApiFactory)
    public __invoke(null|Symfony\Component\HttpFoundation\Request $request): ApiPlatform\Documentation\DocumentationInterface|ApiPlatform\OpenApi\OpenApi
}

Methods

__construct

public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, string $title, string $description, string $version, null|ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface $openApiFactory)
public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, string $title, string $description, string $version, null|ApiPlatform\OpenApi\Factory\OpenApiFactoryInterface $openApiFactory)

Parameters

resourceNameCollectionFactoryApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface
titlestring
descriptionstring
versionstring
openApiFactoryApiPlatform\OpenApi\Factory\OpenApiFactoryInterface

__invoke

public __invoke(null|Symfony\Component\HttpFoundation\Request $request): ApiPlatform\Documentation\DocumentationInterface|ApiPlatform\OpenApi\OpenApi
public __invoke(null|Symfony\Component\HttpFoundation\Request $request): ApiPlatform\Documentation\DocumentationInterface|ApiPlatform\OpenApi\OpenApi

Parameters

requestSymfony\Component\HttpFoundation\Request

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop