We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd0d842 commit 699f876Copy full SHA for 699f876
lib/open_api_spex/plug/cast_and_validate.ex
@@ -1,6 +1,8 @@
1
defmodule OpenApiSpex.Plug.CastAndValidate do
2
@moduledoc """
3
Module plug that will cast and validate the `Conn.params` and `Conn.body_params` according to the schemas defined for the operation.
4
+ Note that when using this plug, the body params are no longer merged into `Conn.params` and must be read from `Conn.body_params`
5
+ separately.
6
7
The operation_id can be given at compile time as an argument to `init`:
8
0 commit comments