Skip to content

Commit 71d8595

Browse files
committed
Fix type annotation
1 parent 3af46b5 commit 71d8595

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/OpenApi/Generate.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ elmHttpTasks ({ functionName, method, bodyTypeAnnotation, errorTypeAnnotation, r
10651065
[ (paramType { requireToMsg = False }).core ]
10661066
(Elm.Annotation.record
10671067
[ ( "method", Elm.Annotation.string )
1068-
, ( "headers", Gen.Http.annotation_.header )
1068+
, ( "headers", Elm.Annotation.list Gen.Http.annotation_.header )
10691069
, ( "url", Elm.Annotation.string )
10701070
, ( "body", Gen.Http.annotation_.body )
10711071
, ( "resolver"

0 commit comments

Comments
 (0)