diff --git a/src/DependencyInjection/DbpRelayCoreExtension.php b/src/DependencyInjection/DbpRelayCoreExtension.php
index ac9bcd9721c755b5068dfb57a3481923f8314a7f..cd51b7ff8d203747bd35003e43b944089f5588ad 100644
--- a/src/DependencyInjection/DbpRelayCoreExtension.php
+++ b/src/DependencyInjection/DbpRelayCoreExtension.php
@@ -60,6 +60,15 @@ class DbpRelayCoreExtension extends ConfigurableExtension implements PrependExte
 
         $container->prependExtensionConfig('api_platform', [
             'title' => $config['docs_title'],
+            'collection' => [
+              'pagination' => [
+                  // This enables it for the doctrine integration, which we don't actually use.
+                  // But it also adds it to the open-api docs which need because we implement it manually
+                  // in the controllers and providers, so enable it anyway.
+                  'client_items_per_page' => true,
+                  'items_per_page_parameter_name' => 'perPage',
+              ],
+            ],
             'description' => $config['docs_description'],
             'defaults' => [
                 'cache_headers' => [