Current section

Files

Jump to
polarex lib polarex schemas http_validation_error.ex
Raw

lib/polarex/schemas/http_validation_error.ex

defmodule Polarex.HTTPValidationError do
@moduledoc """
Provides struct and type for a HTTPValidationError
"""
@type t :: %__MODULE__{detail: [Polarex.ValidationError.t()] | nil}
defstruct [:detail]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[detail: [{Polarex.ValidationError, :t}]]
end
end