Add a config option to enable strict validation
[akkoma] / config / config.exs
index a6c6d6f99e7c593caffe00062d61671eea94d121..ca9bbab6480c43ccebaecaca106ad22c8059bd6c 100644 (file)
@@ -653,6 +653,8 @@ config :pleroma, :restrict_unauthenticated,
   profiles: %{local: false, remote: false},
   activities: %{local: false, remote: false}
 
+config :pleroma, Pleroma.Web.ApiSpec.CastAndValidate, strict: false
+
 # Import environment specific config. This must remain at the bottom
 # of this file so it overrides the configuration defined above.
 import_config "#{Mix.env()}.exs"