pagantis_elixir_tools v0.17.5 ElixirTools.JsonApi.ValidationPlug

A Plug that checks whether a valid JSON API request is sent.

Also prepares the request to work together with the JsonApiController by assigning the json api parameters to the request.

Link to this section Summary

Link to this section Functions

Link to this function

call(conn, _)

call(Plug.Conn.t(), any()) :: Plug.Conn.t()
Link to this function

changeset(params)

changeset(map()) :: Ecto.Changeset.t()
Link to this function

init(default)

init(any()) :: any()