lib/schemas/hovercard_contexts.ex
defmodule GitHub.HovercardContexts do
@moduledoc """
Provides struct and type for a HovercardContexts
"""
use GitHub.Encoder
@type t :: %__MODULE__{__info__: map, message: String.t(), octicon: String.t()}
defstruct [:__info__, :message, :octicon]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[message: {:string, :generic}, octicon: {:string, :generic}]
end
end