Merge branch 'bugfix/sensitive_object' into 'develop'
[akkoma] / config / description.exs
index d7788a63d2f66cecc635317378cab20f1cb6bd9d..1b2afebef0cc923a4eedd61ab52ffe05d0fb4e0d 100644 (file)
@@ -3195,5 +3195,19 @@ config :pleroma, :config_description, [
         ]
       }
     ]
+  },
+  %{
+    group: :pleroma,
+    key: Pleroma.Web.ApiSpec.CastAndValidate,
+    type: :group,
+    children: [
+      %{
+        key: :strict,
+        type: :boolean,
+        description:
+          "Enables strict input validation (useful in development, not recommended in production)",
+        suggestions: [false]
+      }
+    ]
   }
 ]