PhoenixSwagger.ConnValidator (phoenix_swagger v0.8.3) View Source
Link to this section Summary
Functions
Validate a request. Feel free to use it in your own Plugs. Returns
Link to this section Functions
Validate a request. Feel free to use it in your own Plugs. Returns:
{:ok, conn}
on success{:error, :no_matching_path}
if the request path could not be mapped to a schema{:error, message, path}
if the request was mapped but failed validation{:error, [{message, path}], path}
if more than one validation error has been detected