diff --git a/cubicweb_api/openapi/openapi_template.yaml b/cubicweb_api/openapi/openapi_template.yaml
index d513323e2c70a087b5ad9b39dd32d013588e6980_Y3ViaWN3ZWJfYXBpL29wZW5hcGkvb3BlbmFwaV90ZW1wbGF0ZS55YW1s..c1ca76853929c932f218d8baf010dce62fc39552_Y3ViaWN3ZWJfYXBpL29wZW5hcGkvb3BlbmFwaV90ZW1wbGF0ZS55YW1s 100644
--- a/cubicweb_api/openapi/openapi_template.yaml
+++ b/cubicweb_api/openapi/openapi_template.yaml
@@ -70,6 +70,7 @@
     post:
       description: Tries to log in the user
       requestBody:
+        required: true
         content:
           application/json:
             schema: