lib/schemas/participation_stats.ex
defmodule GitHub.ParticipationStats do
@moduledoc """
Provides struct and type for ParticipationStats
"""
use GitHub.Encoder
@type t :: %__MODULE__{__info__: map, all: [integer], owner: [integer]}
defstruct [:__info__, :all, :owner]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[all: {:array, :integer}, owner: {:array, :integer}]
end
end