lib/schemas/issue/event/milestoned_milestone.ex

defmodule GitHub.Issue.Event.MilestonedMilestone do
  @moduledoc """
  Provides struct and type for a Issue.Event.MilestonedMilestone
  """
  use GitHub.Encoder

  @type t :: %__MODULE__{__info__: map, title: String.t()}

  defstruct [:__info__, :title]

  @doc false
  @spec __fields__(atom) :: keyword
  def __fields__(type \\ :t)

  def __fields__(:t) do
    [title: {:string, :generic}]
  end
end