# HG changeset patch # User Frank Bessou <frank.bessou@logilab.fr> # Date 1697548895 -7200 # Tue Oct 17 15:21:35 2023 +0200 # Node ID c1ca76853929c932f218d8baf010dce62fc39552 # Parent d513323e2c70a087b5ad9b39dd32d013588e6980 fix: make request body mandatory on /login route diff --git a/cubicweb_api/openapi/openapi_template.yaml b/cubicweb_api/openapi/openapi_template.yaml --- 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: