lib/schemas/community_health_file.ex

defmodule GitHub.CommunityHealthFile do
  @moduledoc """
  Provides struct and type for CommunityHealthFile
  """

  @type t :: %__MODULE__{html_url: String.t(), url: String.t()}

  defstruct [:html_url, :url]

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

  def __fields__(:t) do
    [html_url: :string, url: :string]
  end
end