core
core copied to clipboard
The server component of API Platform: hypermedia and GraphQL APIs in minutes
### Discussed in https://github.com/api-platform/core/discussions/5875 Originally posted by **andersmateusz** October 6, 2023 Hey, I have encountered following problem when normalizing data in my Symfony app where I use API Platform as...
**API Platform version(s) affected**: 3.1+ PHP: PHP 8.1.26 (cli) (built: Nov 27 2023 23:37:27) (NTS) Api platform: v3.3.11 **Description** Class `vendor/api-platform/core/src/OpenApi/Model/Parameter.php` has default parameters so I would expect that providing...
**API Platform version(s) affected**: 4.1.15 **Description** When trying to get a collection of related models via a polymorphic relationship, the query is not scoped to model parent class. Structure: Model...
| Q | A | ------------- | --- | Branch? | main | License | MIT 
| Q | A | ------------- | --- | Branch? | 4.1 | Tickets | N/A | License | MIT | Doc PR | N/A Considering the following configuration: ```php...
**API Platform version(s) affected**: v3.4.16 **Description** A nullable array of entities crashes on serialization, because API platform core expects only iterable, but not null. **How to reproduce** Call `\ApiPlatform\JsonLd\Serializer\ItemNormalizer::normalize` on...
**API Platform version(s) affected**: 4.1.15 **Description** Some spec readers will throw an error on `allowEmptyValue` as its present on a path parameter when the spec says: > This field is...
**API Platform version(s) affected**: v2.7.16 **Description** Generation of swagger fails with exception 'Class "self" does not exist' when used enum contains valid phpdoc block on public method when key-word `self`...
**API Platform version(s) affected**: 4.1.16 **Description** Just updated to v4.1.16, and docs.jsonld is now returning a result with two @context entries.  **Possible Solution** ApiPlatform\JsonLd\HydraContext - has already @context key...
| Q | A | ------------- | --- | Branch? | 4.1 | License | MIT