Skip to content

Commit

Permalink
Fix codegen method parsing (#3387)
Browse files Browse the repository at this point in the history
  • Loading branch information
markussammallahti authored Dec 11, 2023
1 parent 3b240a7 commit 7625d35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ object OpenapiModels {
.downField("parameters")
.as[Option[Seq[Resolvable[OpenapiParameter]]]]
.map(_.getOrElse(Nil))
methods <- List("get", "put", "post", "delete", "options", "head", "patch", "patch", "connect")
methods <- List("get", "put", "post", "delete", "options", "head", "patch", "connect", "trace")
.traverse(method => c.downField(method).as[Option[OpenapiPathMethod]].map(_.map(_.copy(methodType = method))))
} yield OpenapiPath("--partial--", methods.flatten, parameters)
}
Expand Down

0 comments on commit 7625d35

Please sign in to comment.