From 9df901b9d61726651e2b367c9b63682160095d4a Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 24 Mar 2026 15:30:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D(backend)=20clarify=20trailing=20sl?= =?UTF-8?q?ash=20requirement=20in=20API=20Swagger=20doc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Specify that POST routes require a trailing slash to avoid confusion and incorrect usage from API consumers. --- docs/openapi.yaml | 1 + docs/resource_server.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 7b824e5f..018bee5e 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -190,6 +190,7 @@ paths: '403': $ref: '#/components/responses/ForbiddenError' + /rooms/: post: tags: - Rooms diff --git a/docs/resource_server.yaml b/docs/resource_server.yaml index b8a1c5ad..6184bb76 100644 --- a/docs/resource_server.yaml +++ b/docs/resource_server.yaml @@ -113,6 +113,7 @@ paths: '403': $ref: '#/components/responses/ForbiddenError' + /rooms/: post: tags: - Rooms