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\Operation
public addResponse(ApiPlatform\OpenApi\Model\Response $response, $status): ApiPlatform\OpenApi\Model\Operation
response | ApiPlatform\OpenApi\Model\Response | |
status |
ApiPlatform\OpenApi\Model\Operation
public getOperationId(): string
public getOperationId(): string
string
public getTags(): array
public getTags(): array
array
public getResponses(): array
public getResponses(): array
array
public getSummary(): string
public getSummary(): string
string
public getDescription(): string
public getDescription(): string
string
public getExternalDocs(): ApiPlatform\OpenApi\Model\ExternalDocumentation
public getExternalDocs(): ApiPlatform\OpenApi\Model\ExternalDocumentation
ApiPlatform\OpenApi\Model\ExternalDocumentation
public getParameters(): array
public getParameters(): array
array
public getRequestBody(): ApiPlatform\OpenApi\Model\RequestBody
public getRequestBody(): ApiPlatform\OpenApi\Model\RequestBody
ApiPlatform\OpenApi\Model\RequestBody
public getCallbacks(): ArrayObject
public getCallbacks(): ArrayObject
ArrayObject
public getDeprecated(): bool
public getDeprecated(): bool
bool
public getSecurity(): array
public getSecurity(): array
array
public getServers(): array
public getServers(): array
array
public withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Operation
public withOperationId(string $operationId): ApiPlatform\OpenApi\Model\Operation
operationId | string |
ApiPlatform\OpenApi\Model\Operation
public withTags(array $tags): ApiPlatform\OpenApi\Model\Operation
public withTags(array $tags): ApiPlatform\OpenApi\Model\Operation
tags | array |
ApiPlatform\OpenApi\Model\Operation
public withResponses(array $responses): ApiPlatform\OpenApi\Model\Operation
public 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\Operation
public 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\Operation
public withSummary(string $summary): ApiPlatform\OpenApi\Model\Operation
summary | string |
ApiPlatform\OpenApi\Model\Operation
public withDescription(string $description): ApiPlatform\OpenApi\Model\Operation
public withDescription(string $description): ApiPlatform\OpenApi\Model\Operation
description | string |
ApiPlatform\OpenApi\Model\Operation
public withExternalDocs(ApiPlatform\OpenApi\Model\ExternalDocumentation $externalDocs): ApiPlatform\OpenApi\Model\Operation
public 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\Operation
public withParameters(array $parameters): ApiPlatform\OpenApi\Model\Operation
parameters | array |
ApiPlatform\OpenApi\Model\Operation
public withParameter(ApiPlatform\OpenApi\Model\Parameter $parameter): ApiPlatform\OpenApi\Model\Operation
public 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\Operation
public 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\Operation
public withCallbacks(ArrayObject $callbacks): ApiPlatform\OpenApi\Model\Operation
callbacks | ArrayObject |
ApiPlatform\OpenApi\Model\Operation
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Operation
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Operation
deprecated | bool |
ApiPlatform\OpenApi\Model\Operation
public withSecurity(null|array $security): ApiPlatform\OpenApi\Model\Operation
public withSecurity(null|array $security): ApiPlatform\OpenApi\Model\Operation
security | array |
ApiPlatform\OpenApi\Model\Operation
public withServers(null|array $servers): ApiPlatform\OpenApi\Model\Operation
public 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(): array
public getExtensionProperties(): array
array