pagantis_elixir_tools v0.21.3 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

Specs

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

changeset(params)

Specs

changeset(map()) :: Ecto.Changeset.t()

Specs

init(any()) :: any()