The international conference on the API Platform Framework
The API Platform Conference 2024 is happening soon, and it's close to selling out.
API Platform 4, Caddy web server, Xdebug, AI... Enjoy two days of inspiring talks with our friendly community and our amazing speakers.
class ApiPlatform\OpenApi\Model\Parameter
{
public __construct(string $name, string $in, string $description, bool $required, bool $deprecated, bool $allowEmptyValue, array $schema, null|string $style, bool $explode, bool $allowReserved, $example, null|ArrayObject $examples, null|ArrayObject $content)
public getName(): string
public getIn(): string
public getDescription(): string
public getRequired(): bool
public getDeprecated(): bool
public canAllowEmptyValue(): bool
public getAllowEmptyValue(): bool
public getSchema(): array
public getStyle(): string
public canExplode(): bool
public getExplode(): bool
public canAllowReserved(): bool
public getAllowReserved(): bool
public getExample()
public getExamples(): ArrayObject
public getContent(): ArrayObject
public withName(string $name): ApiPlatform\OpenApi\Model\Parameter
public withIn(string $in): ApiPlatform\OpenApi\Model\Parameter
public withDescription(string $description): ApiPlatform\OpenApi\Model\Parameter
public withRequired(bool $required): ApiPlatform\OpenApi\Model\Parameter
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Parameter
public withAllowEmptyValue(bool $allowEmptyValue): ApiPlatform\OpenApi\Model\Parameter
public withSchema(array $schema): ApiPlatform\OpenApi\Model\Parameter
public withStyle(string $style): ApiPlatform\OpenApi\Model\Parameter
public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Parameter
public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Parameter
public withExample($example): ApiPlatform\OpenApi\Model\Parameter
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Parameter
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Parameter
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
public __construct(string $name, string $in, string $description, bool $required, bool $deprecated, bool $allowEmptyValue, array $schema, null|string $style, bool $explode, bool $allowReserved, $example, null|ArrayObject $examples, null|ArrayObject $content)
name | string | |
in | string | |
description | string | |
required | bool | |
deprecated | bool | |
allowEmptyValue | bool | |
schema | array | |
style | string | |
explode | bool | |
allowReserved | bool | |
example | ||
examples | ArrayObject | |
content | ArrayObject |
public getName(): string
string
public getIn(): string
string
public getDescription(): string
string
public getRequired(): bool
bool
public getDeprecated(): bool
bool
public canAllowEmptyValue(): bool
bool
public getAllowEmptyValue(): bool
bool
public getSchema(): array
array
public getStyle(): string
string
public canExplode(): bool
bool
public getExplode(): bool
bool
public canAllowReserved(): bool
bool
public getAllowReserved(): bool
bool
public getExample()
public getExamples(): ArrayObject
ArrayObject
public getContent(): ArrayObject
ArrayObject
public withName(string $name): ApiPlatform\OpenApi\Model\Parameter
name | string |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withIn(string $in): ApiPlatform\OpenApi\Model\Parameter
in | string |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withDescription(string $description): ApiPlatform\OpenApi\Model\Parameter
description | string |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withRequired(bool $required): ApiPlatform\OpenApi\Model\Parameter
required | bool |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withDeprecated(bool $deprecated): ApiPlatform\OpenApi\Model\Parameter
deprecated | bool |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withAllowEmptyValue(bool $allowEmptyValue): ApiPlatform\OpenApi\Model\Parameter
allowEmptyValue | bool |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withSchema(array $schema): ApiPlatform\OpenApi\Model\Parameter
schema | array |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withStyle(string $style): ApiPlatform\OpenApi\Model\Parameter
style | string |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withExplode(bool $explode): ApiPlatform\OpenApi\Model\Parameter
explode | bool |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withAllowReserved(bool $allowReserved): ApiPlatform\OpenApi\Model\Parameter
allowReserved | bool |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withExample($example): ApiPlatform\OpenApi\Model\Parameter
example |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\Parameter
examples | ArrayObject |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</a>
public withContent(ArrayObject $content): ApiPlatform\OpenApi\Model\Parameter
content | ArrayObject |
<a href="/docs/references/OpenApi/Model/Parameter">ApiPlatform\OpenApi\Model\Parameter</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