Guides
Tutorials
class ApiPlatform\OpenApi\Model\MediaType
{
public __construct(null|ArrayObject $schema, $example, null|ArrayObject $examples, null|ApiPlatform\OpenApi\Model\Encoding $encoding)
public getSchema(): ArrayObject
public getExample()
public getExamples(): ArrayObject
public getEncoding(): ApiPlatform\OpenApi\Model\Encoding
public withSchema(ArrayObject $schema): ApiPlatform\OpenApi\Model\MediaType
public withExample($example): ApiPlatform\OpenApi\Model\MediaType
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\MediaType
public withEncoding(ApiPlatform\OpenApi\Model\Encoding $encoding): ApiPlatform\OpenApi\Model\MediaType
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
class ApiPlatform\OpenApi\Model\MediaType
{
public __construct(null|ArrayObject $schema, $example, null|ArrayObject $examples, null|ApiPlatform\OpenApi\Model\Encoding $encoding)
public getSchema(): ArrayObject
public getExample()
public getExamples(): ArrayObject
public getEncoding(): ApiPlatform\OpenApi\Model\Encoding
public withSchema(ArrayObject $schema): ApiPlatform\OpenApi\Model\MediaType
public withExample($example): ApiPlatform\OpenApi\Model\MediaType
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\MediaType
public withEncoding(ApiPlatform\OpenApi\Model\Encoding $encoding): ApiPlatform\OpenApi\Model\MediaType
public withExtensionProperty(string $key, $value)
public getExtensionProperties(): array
}
public __construct(null|ArrayObject $schema, $example, null|ArrayObject $examples, null|ApiPlatform\OpenApi\Model\Encoding $encoding)
public __construct(null|ArrayObject $schema, $example, null|ArrayObject $examples, null|ApiPlatform\OpenApi\Model\Encoding $encoding)
schema | ArrayObject | |
example | ||
examples | ArrayObject | |
encoding | ApiPlatform\OpenApi\Model\Encoding |
public getSchema(): ArrayObject
public getSchema(): ArrayObject
ArrayObject
public getExample()
public getExample()
public getExamples(): ArrayObject
public getExamples(): ArrayObject
ArrayObject
public getEncoding(): ApiPlatform\OpenApi\Model\Encoding
public getEncoding(): ApiPlatform\OpenApi\Model\Encoding
ApiPlatform\OpenApi\Model\Encoding
public withSchema(ArrayObject $schema): ApiPlatform\OpenApi\Model\MediaType
public withSchema(ArrayObject $schema): ApiPlatform\OpenApi\Model\MediaType
schema | ArrayObject |
ApiPlatform\OpenApi\Model\MediaType
public withExample($example): ApiPlatform\OpenApi\Model\MediaType
public withExample($example): ApiPlatform\OpenApi\Model\MediaType
example |
ApiPlatform\OpenApi\Model\MediaType
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\MediaType
public withExamples(ArrayObject $examples): ApiPlatform\OpenApi\Model\MediaType
examples | ArrayObject |
ApiPlatform\OpenApi\Model\MediaType
public withEncoding(ApiPlatform\OpenApi\Model\Encoding $encoding): ApiPlatform\OpenApi\Model\MediaType
public withEncoding(ApiPlatform\OpenApi\Model\Encoding $encoding): ApiPlatform\OpenApi\Model\MediaType
encoding | ApiPlatform\OpenApi\Model\Encoding |
ApiPlatform\OpenApi\Model\MediaType
public withExtensionProperty(string $key, $value)
public withExtensionProperty(string $key, $value)
key | string | |
value |
public getExtensionProperties(): array
public getExtensionProperties(): array
array