Guides
Tutorials
class ApiPlatform\OpenApi\Model\Operation
{
public __construct(null|string $operationId, null|array $tags, null|array $responses, null|string $summary, null|string $description, null|ApiPlatform\OpenApi\Model\ExternalDocumentation $externalDocs, null|array $parameters, null|ApiPlatform\OpenApi\Model\RequestBody $requestBody, null|ArrayObject $callbacks, null|bool $deprecated, null|array $security, null|array $servers, array $extensionProperties)
public addResponse(ApiPlatform\OpenApi\Model\Response $response, $status): ApiPlatform\OpenApi\Model\Operation
public getOperationId(): string
public getTags(): array
public getResponses(): array
public getSummary(): string
public getDescription(): string
public getExternalDocs(): ApiPlatform\OpenApi\Model\ExternalDocumentation
public getParameters(): array
public getRequestBody(): ApiPlatform\OpenApi\Model\RequestBody
public getCallbacks(): ArrayObject
public getDeprecated(): bool
public getSecurity(): array
public getServers(): array
public withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Operation
public withTags(array $tags): ApiPlatform\OpenApi\Model\Operation
public withResponses(array $responses): ApiPlatform\OpenApi\Model\Operation
public withResponse(string|int $status, ApiPlatform\OpenApi\Model\Response $response): ApiPlatform\OpenApi\Model\Operation
public withSummary(string $summary): ApiPlatform\OpenApi\Model\Operation
public withDescription(string $description): ApiPlatform\OpenApi\Model\Operation
public withExternalDocs(ApiPlatform\OpenApi\Model\ExternalDocumentation $externalDocs): ApiPlatform\OpenApi\Model\Operation
public withParameters(array $parameters): ApiPlatform\OpenApi\Model\Operation
public withParameter(ApiPlatform\OpenApi\Model\Parameter $parameter): ApiPlatform\OpenApi\Model\Operation
public withRequestBody(null|ApiPlatform\OpenApi\Model\RequestBody $requestBody): ApiPlatform\OpenApi\Model\Operation
public withCallbacks(ArrayObject $callbacks): ApiPlatform\OpenApi\Model\Operation
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Operation
public withSecurity(null|array $security): ApiPlatform\OpenApi\Model\Operation
public withServers(null|array $servers): ApiPlatform\OpenApi\Model\Operation
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}class ApiPlatform\OpenApi\Model\Operation
{
public __construct(null|string $operationId, null|array $tags, null|array $responses, null|string $summary, null|string $description, null|ApiPlatform\OpenApi\Model\ExternalDocumentation $externalDocs, null|array $parameters, null|ApiPlatform\OpenApi\Model\RequestBody $requestBody, null|ArrayObject $callbacks, null|bool $deprecated, null|array $security, null|array $servers, array $extensionProperties)
public addResponse(ApiPlatform\OpenApi\Model\Response $response, $status): ApiPlatform\OpenApi\Model\Operation
public getOperationId(): string
public getTags(): array
public getResponses(): array
public getSummary(): string
public getDescription(): string
public getExternalDocs(): ApiPlatform\OpenApi\Model\ExternalDocumentation
public getParameters(): array
public getRequestBody(): ApiPlatform\OpenApi\Model\RequestBody
public getCallbacks(): ArrayObject
public getDeprecated(): bool
public getSecurity(): array
public getServers(): array
public withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Operation
public withTags(array $tags): ApiPlatform\OpenApi\Model\Operation
public withResponses(array $responses): ApiPlatform\OpenApi\Model\Operation
public withResponse(string|int $status, ApiPlatform\OpenApi\Model\Response $response): ApiPlatform\OpenApi\Model\Operation
public withSummary(string $summary): ApiPlatform\OpenApi\Model\Operation
public withDescription(string $description): ApiPlatform\OpenApi\Model\Operation
public withExternalDocs(ApiPlatform\OpenApi\Model\ExternalDocumentation $externalDocs): ApiPlatform\OpenApi\Model\Operation
public withParameters(array $parameters): ApiPlatform\OpenApi\Model\Operation
public withParameter(ApiPlatform\OpenApi\Model\Parameter $parameter): ApiPlatform\OpenApi\Model\Operation
public withRequestBody(null|ApiPlatform\OpenApi\Model\RequestBody $requestBody): ApiPlatform\OpenApi\Model\Operation
public withCallbacks(ArrayObject $callbacks): ApiPlatform\OpenApi\Model\Operation
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Operation
public withSecurity(null|array $security): ApiPlatform\OpenApi\Model\Operation
public withServers(null|array $servers): ApiPlatform\OpenApi\Model\Operation
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}public __construct(null|string $operationId, null|array $tags, null|array $responses, null|string $summary, null|string $description, null|ApiPlatform\OpenApi\Model\ExternalDocumentation $externalDocs, null|array $parameters, null|ApiPlatform\OpenApi\Model\RequestBody $requestBody, null|ArrayObject $callbacks, null|bool $deprecated, null|array $security, null|array $servers, array $extensionProperties)public __construct(null|string $operationId, null|array $tags, null|array $responses, null|string $summary, null|string $description, null|ApiPlatform\OpenApi\Model\ExternalDocumentation $externalDocs, null|array $parameters, null|ApiPlatform\OpenApi\Model\RequestBody $requestBody, null|ArrayObject $callbacks, null|bool $deprecated, null|array $security, null|array $servers, array $extensionProperties)| operationId | string | |
| tags | array | |
| responses | array | |
| summary | string | |
| description | string | |
| externalDocs | ApiPlatform\OpenApi\Model\ExternalDocumentation | |
| parameters | array | |
| requestBody | ApiPlatform\OpenApi\Model\RequestBody | |
| callbacks | ArrayObject | |
| deprecated | bool | |
| security | array | |
| servers | array | |
| extensionProperties | array |
public addResponse(ApiPlatform\OpenApi\Model\Response $response, $status): ApiPlatform\OpenApi\Model\Operationpublic addResponse(ApiPlatform\OpenApi\Model\Response $response, $status): ApiPlatform\OpenApi\Model\Operation| response | ApiPlatform\OpenApi\Model\Response | |
| status |
ApiPlatform\OpenApi\Model\Operation
public getOperationId(): stringpublic getOperationId(): stringstring
public getTags(): arraypublic getTags(): arrayarray
public getResponses(): arraypublic getResponses(): arrayarray
public getSummary(): stringpublic getSummary(): stringstring
public getDescription(): stringpublic getDescription(): stringstring
public getExternalDocs(): ApiPlatform\OpenApi\Model\ExternalDocumentationpublic getExternalDocs(): ApiPlatform\OpenApi\Model\ExternalDocumentationApiPlatform\OpenApi\Model\ExternalDocumentation
public getParameters(): arraypublic getParameters(): arrayarray
public getRequestBody(): ApiPlatform\OpenApi\Model\RequestBodypublic getRequestBody(): ApiPlatform\OpenApi\Model\RequestBodyApiPlatform\OpenApi\Model\RequestBody
public getCallbacks(): ArrayObjectpublic getCallbacks(): ArrayObjectArrayObject
public getDeprecated(): boolpublic getDeprecated(): boolbool
public getSecurity(): arraypublic getSecurity(): arrayarray
public getServers(): arraypublic getServers(): arrayarray
public withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Operationpublic withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Operation| operationId | string |
ApiPlatform\OpenApi\Model\Operation
public withTags(array $tags): ApiPlatform\OpenApi\Model\Operationpublic withTags(array $tags): ApiPlatform\OpenApi\Model\Operation| tags | array |
ApiPlatform\OpenApi\Model\Operation
public withResponses(array $responses): ApiPlatform\OpenApi\Model\Operationpublic withResponses(array $responses): ApiPlatform\OpenApi\Model\Operation| responses | array |
ApiPlatform\OpenApi\Model\Operation
public withResponse(string|int $status, ApiPlatform\OpenApi\Model\Response $response): ApiPlatform\OpenApi\Model\Operationpublic withResponse(string|int $status, ApiPlatform\OpenApi\Model\Response $response): ApiPlatform\OpenApi\Model\Operation| status | string int | |
| response | ApiPlatform\OpenApi\Model\Response |
ApiPlatform\OpenApi\Model\Operation
public withSummary(string $summary): ApiPlatform\OpenApi\Model\Operationpublic withSummary(string $summary): ApiPlatform\OpenApi\Model\Operation| summary | string |
ApiPlatform\OpenApi\Model\Operation
public withDescription(string $description): ApiPlatform\OpenApi\Model\Operationpublic withDescription(string $description): ApiPlatform\OpenApi\Model\Operation| description | string |
ApiPlatform\OpenApi\Model\Operation
public withExternalDocs(ApiPlatform\OpenApi\Model\ExternalDocumentation $externalDocs): ApiPlatform\OpenApi\Model\Operationpublic withExternalDocs(ApiPlatform\OpenApi\Model\ExternalDocumentation $externalDocs): ApiPlatform\OpenApi\Model\Operation| externalDocs | ApiPlatform\OpenApi\Model\ExternalDocumentation |
ApiPlatform\OpenApi\Model\Operation
public withParameters(array $parameters): ApiPlatform\OpenApi\Model\Operationpublic withParameters(array $parameters): ApiPlatform\OpenApi\Model\Operation| parameters | array |
ApiPlatform\OpenApi\Model\Operation
public withParameter(ApiPlatform\OpenApi\Model\Parameter $parameter): ApiPlatform\OpenApi\Model\Operationpublic withParameter(ApiPlatform\OpenApi\Model\Parameter $parameter): ApiPlatform\OpenApi\Model\Operation| parameter | ApiPlatform\OpenApi\Model\Parameter |
ApiPlatform\OpenApi\Model\Operation
public withRequestBody(null|ApiPlatform\OpenApi\Model\RequestBody $requestBody): ApiPlatform\OpenApi\Model\Operationpublic withRequestBody(null|ApiPlatform\OpenApi\Model\RequestBody $requestBody): ApiPlatform\OpenApi\Model\Operation| requestBody | ApiPlatform\OpenApi\Model\RequestBody |
ApiPlatform\OpenApi\Model\Operation
public withCallbacks(ArrayObject $callbacks): ApiPlatform\OpenApi\Model\Operationpublic withCallbacks(ArrayObject $callbacks): ApiPlatform\OpenApi\Model\Operation| callbacks | ArrayObject |
ApiPlatform\OpenApi\Model\Operation
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Operationpublic withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Operation| deprecated | bool |
ApiPlatform\OpenApi\Model\Operation
public withSecurity(null|array $security): ApiPlatform\OpenApi\Model\Operationpublic withSecurity(null|array $security): ApiPlatform\OpenApi\Model\Operation| security | array |
ApiPlatform\OpenApi\Model\Operation
public withServers(null|array $servers): ApiPlatform\OpenApi\Model\Operationpublic withServers(null|array $servers): ApiPlatform\OpenApi\Model\Operation| servers | array |
ApiPlatform\OpenApi\Model\Operation
public withExtensionProperty(string $key, $value)public withExtensionProperty(string $key, $value)| key | string | |
| value |
public getExtensionProperties(): arraypublic getExtensionProperties(): arrayarray