**API Platform version(s) affected**: 4.0.16 **Description** The "data" key was duplicated in the example and the schema definition. [Here is](https://jsonapi.org/format/#fetching-resources-responses-200) the specification as it should look like.   The endpoint otherwise responds properly:  This is a problem because [openapi-generator-cli](https://github.com/OpenAPITools/openapi-generator-cli) generates the classes incorrectly and the collection data is not returned.