Skip to content

Commit a99f24a

Browse files
authored
amend README.md to reflect BodyDecoder type (#475)
1 parent e02b3c0 commit a99f24a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func main() {
151151
}
152152
}
153153

154-
func xmlBodyDecoder(body []byte) (interface{}, error) {
154+
func xmlBodyDecoder(body io.Reader, h http.Header, schema *openapi3.SchemaRef, encFn openapi3filter.EncodingFn) (decoded interface{}, err error) {
155155
// Decode body to a primitive, []inteface{}, or map[string]interface{}.
156156
}
157157
```

0 commit comments

Comments
 (0)