Guides
Tutorials
class ApiPlatform\OpenApi\Model\RequestBody
{
public __construct(string $description, null|ArrayObject $content, bool $required)
public getDescription(): string
public getContent(): ArrayObject
public getRequired(): bool
public withDescription(string $description): ApiPlatform\OpenApi\Model\RequestBody
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\RequestBody
public withRequired(bool $required): ApiPlatform\OpenApi\Model\RequestBody
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\RequestBody
{
public __construct(string $description, null|ArrayObject $content, bool $required)
public getDescription(): string
public getContent(): ArrayObject
public getRequired(): bool
public withDescription(string $description): ApiPlatform\OpenApi\Model\RequestBody
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\RequestBody
public withRequired(bool $required): ApiPlatform\OpenApi\Model\RequestBody
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
public __construct(string $description, null|ArrayObject $content, bool $required)
public __construct(string $description, null|ArrayObject $content, bool $required)
description | string | |
content | ArrayObject | |
required | bool |
public getDescription(): string
public getDescription(): string
string
public getContent(): ArrayObject
public getContent(): ArrayObject
ArrayObject
public getRequired(): bool
public getRequired(): bool
bool
public withDescription(string $description): ApiPlatform\OpenApi\Model\RequestBody
public withDescription(string $description): ApiPlatform\OpenApi\Model\RequestBody
description | string |
ApiPlatform\OpenApi\Model\RequestBody
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\RequestBody
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\RequestBody
content | ArrayObject |
ApiPlatform\OpenApi\Model\RequestBody
public withRequired(bool $required): ApiPlatform\OpenApi\Model\RequestBody
public withRequired(bool $required): ApiPlatform\OpenApi\Model\RequestBody
required | bool |
ApiPlatform\OpenApi\Model\RequestBody
public withExtensionProperty(string $key, $value)
public withExtensionProperty(string $key, $value)
key | string | |
value |
public getExtensionProperties(): array
public getExtensionProperties(): array
array