lib/gen_lsp/protocol/structures/unregistration_params.ex

# codegen: do not edit
defmodule GenLSP.Structures.UnregistrationParams do
  import Schematic, warn: false

  use TypedStruct

  @doc """
  ## Fields

  * unregisterations
  """
  @derive Jason.Encoder
  typedstruct do
    field :unregisterations, list(GenLSP.Structures.Unregistration.t()), enforce: true
  end

  @doc false
  @spec schematic() :: Schematic.t()
  def schematic() do
    schema(__MODULE__, %{
      {"unregisterations", :unregisterations} =>
        list(GenLSP.Structures.Unregistration.schematic())
    })
  end
end