Document configuration for Pleroma.Web.ApiSpec.CastAndValidate

This commit is contained in:
Egor Kislitsyn 2020-05-05 14:44:29 +04:00
commit cc922e7d8c
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
2 changed files with 19 additions and 1 deletions

View file

@ -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]
}
]
}
]