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)
description | string | |
content | ArrayObject | |
required | bool |
public getDescription(): string
string
public getContent(): ArrayObject
ArrayObject
public getRequired(): bool
bool
public withDescription(string $description): ApiPlatform\OpenApi\Model\RequestBody
description | string |
<a href="/docs/main/references/OpenApi/Model/RequestBody">ApiPlatform\OpenApi\Model\RequestBody</a>
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\RequestBody
content | ArrayObject |
<a href="/docs/main/references/OpenApi/Model/RequestBody">ApiPlatform\OpenApi\Model\RequestBody</a>
public withRequired(bool $required): ApiPlatform\OpenApi\Model\RequestBody
required | bool |
<a href="/docs/main/references/OpenApi/Model/RequestBody">ApiPlatform\OpenApi\Model\RequestBody</a>
public withExtensionProperty(string $key, $value)
key | string | |
value |
public getExtensionProperties(): array
array
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