Current section
Files
Jump to
Current section
Files
lib/gen_lsp/protocol/notifications/initialized.ex
# codegen: do not edit
defmodule GenLSP.Notifications.Initialized do
@moduledoc """
The initialized notification is sent from the client to the
server after the client is fully initialized and the server
is allowed to send requests from the server to the client.
Message Direction: clientToServer
"""
import Schematic, warn: false
use TypedStruct
@derive Jason.Encoder
typedstruct do
field :method, String.t(), default: "initialized"
field :jsonrpc, String.t(), default: "2.0"
field :params, GenLSP.Structures.InitializedParams.t()
end
@doc false
@spec schematic() :: Schematic.t()
def schematic() do
schema(__MODULE__, %{
method: "initialized",
jsonrpc: "2.0",
params: GenLSP.Structures.InitializedParams.schematic()
})
end
end