Guides
Tutorials
Option | Types | Description |
description | string | |
readable | bool | |
writable | bool | |
readableLink | bool | https://api-platform.com/docs/core/serialization/#force-iri-with-relations-of-the-same-type-parentchilds-relations |
writableLink | bool | https://api-platform.com/docs/core/serialization/#force-iri-with-relations-of-the-same-type-parentchilds-relations |
required | bool | https://api-platform.com/docs/admin/validation/#client-side-validation |
identifier | bool | https://api-platform.com/docs/core/identifiers/ |
default | string | |
example | https://api-platform.com/docs/core/openapi/#using-the-openapi-and-swagger-contexts | |
deprecationReason | string | https://api-platform.com/docs/core/deprecations/#deprecating-resource-classes-operations-and-properties |
fetchable | bool | |
fetchEager | bool | https://api-platform.com/docs/core/performance/#eager-loading |
jsonldContext | array | https://api-platform.com/docs/core/extending-jsonld-context/#extending-json-ld-and-hydra-contexts |
openapiContext | array | https://api-platform.com/docs/core/openapi/#using-the-openapi-and-swagger-contexts |
jsonSchemaContext | array | |
push | bool | https://api-platform.com/docs/core/push-relations/ |
security | string | https://api-platform.com/docs/core/security |
securityPostDenormalize | string | https://api-platform.com/docs/core/security/#executing-access-control-rules-after-denormalization |
types | array<int, string> | the RDF types of this property |
builtinTypes | array<int, Symfony\Component\PropertyInfo\Type> | |
schema | array | |
initializable | bool | |
iris | array<int, string> | |
genId | bool | |
extraProperties | array |
ApiProperty annotation.