Current section
Files
Jump to
Current section
Files
lib/doc/response.ex
defmodule APIDoc.Doc.Response do
@moduledoc ~S"""
"""
@typedoc @moduledoc
@type t :: %__MODULE__{
status: pos_integer | :default,
description: String.t(),
content: map,
line: pos_integer
}
@enforce_keys [
:status,
:description,
:content
]
defstruct @enforce_keys ++ [line: 1]
end