We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91659ae commit 8c08c70Copy full SHA for 8c08c70
openapi3/header.go
@@ -48,7 +48,7 @@ func (header *Header) UnmarshalJSON(data []byte) error {
48
return header.Parameter.UnmarshalJSON(data)
49
}
50
51
-// MarshalJSON returns the JSON encoding of Header.
+// MarshalYAML returns the JSON encoding of Header.
52
func (header Header) MarshalYAML() (interface{}, error) {
53
return header.Parameter, nil
54
0 commit comments