Skip to content

Commit 8c08c70

Browse files
authored
openapi3: fix func doc after #823 (#830)
1 parent 91659ae commit 8c08c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi3/header.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (header *Header) UnmarshalJSON(data []byte) error {
4848
return header.Parameter.UnmarshalJSON(data)
4949
}
5050

51-
// MarshalJSON returns the JSON encoding of Header.
51+
// MarshalYAML returns the JSON encoding of Header.
5252
func (header Header) MarshalYAML() (interface{}, error) {
5353
return header.Parameter, nil
5454
}

0 commit comments

Comments
 (0)