diff --git a/README.md b/README.md index 1a773fb1c..b01c44a36 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ func main() { } } -func xmlBodyDecoder(body []byte) (interface{}, error) { +func xmlBodyDecoder(body io.Reader, h http.Header, schema *openapi3.SchemaRef, encFn openapi3filter.EncodingFn) (decoded interface{}, err error) { // Decode body to a primitive, []inteface{}, or map[string]interface{}. } ```