lib/schemas/dependabot/alert/security_vulnerability_first_patched_version.ex

defmodule GitHub.Dependabot.Alert.SecurityVulnerabilityFirstPatchedVersion do
  @moduledoc """
  Provides struct and type for a Dependabot.Alert.SecurityVulnerabilityFirstPatchedVersion
  """
  use GitHub.Encoder

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

  defstruct [:__info__, :identifier]

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

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