Skip to content

Commit

Permalink
fix doc issue [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrchen committed Dec 8, 2020
1 parent 9b95a8e commit b3136ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion parser/lib/object/header.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ defmodule QuenyaParser.Object.Header do
@moduledoc """
Header object
"""

use TypedStruct
alias QuenyaParser.Object.{Header, Util}

typedstruct module: Header do
typedstruct do
@typedoc "Header object from the spec"
field(:description, String.t(), default: "")
field(:required, boolean(), default: false)
Expand Down
2 changes: 1 addition & 1 deletion parser/lib/object/response.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule QuenyaParser.Object.Response do
use TypedStruct
alias QuenyaParser.Object.{Header, MediaType, Response, Util}

typedstruct module: Response do
typedstruct do
@typedoc "Response object from the spec, we won't support `links` filed at the moment"
field(:description, String.t(), default: "")
field(:headers, %{required(String.t()) => Header.t()}, default: %{})
Expand Down

0 comments on commit b3136ae

Please sign in to comment.