View Source OpenApiSpex.Operation2 (open_api_spex v3.18.3)
Casts and validates a request from a Plug conn.
Link to this section Summary
Link to this section Functions
@spec cast( OpenApiSpex.OpenApi.t(), OpenApiSpex.Operation.t(), Plug.Conn.t(), String.t() | nil, opts :: [OpenApiSpex.cast_opt()] ) :: {:error, [OpenApiSpex.Cast.Error.t()]} | {:ok, Plug.Conn.t()}