PhoenixSwagger.Plug.Validate (phoenix_swagger v0.8.3) View Source

A plug to automatically validate all requests in a given scope. Please make sure to:

Link to this section Summary

Link to this section Functions

Plug.init callback

Options:

  • :validation_failed_status the response status to set when parameter validation fails, defaults to 400.