summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-05-05 14:44:29 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-05-05 15:01:33 +0400
commitcc922e7d8ccbf22a0f7e0898a6ff4639123f0c7f (patch)
tree346c245d940aea01815809946afe0d1f5b17c5bd /config/description.exs
parent1cb89aac1eef7711aa7950fe03e02e24bc665317 (diff)
downloadpleroma-cc922e7d8ccbf22a0f7e0898a6ff4639123f0c7f.tar.gz
pleroma-cc922e7d8ccbf22a0f7e0898a6ff4639123f0c7f.zip
Document configuration for Pleroma.Web.ApiSpec.CastAndValidate
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index 9d8e3b93c..72bb4d436 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -3194,5 +3194,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]
+ }
+ ]
}
]