From 8bfdf2c2e2bd296776dc29840c526b0ff7e181ae Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Fri, 21 Mar 2025 10:16:20 +0100 Subject: [PATCH] Make reason required for user and room reports --- data/api/client-server/report_content.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/api/client-server/report_content.yaml b/data/api/client-server/report_content.yaml index 3413970d..b97fc84a 100644 --- a/data/api/client-server/report_content.yaml +++ b/data/api/client-server/report_content.yaml @@ -45,7 +45,8 @@ paths: properties: reason: type: string - description: The reason the room is being reported. + description: The reason the room is being reported. May be blank. + required: true required: true security: - accessTokenQuery: [] @@ -205,7 +206,8 @@ paths: properties: reason: type: string - description: The reason the room is being reported. + description: The reason the room is being reported. May be blank. + required: true required: true security: - accessTokenQuery: []