Skip to content

Commit

Permalink
amend README.md to reflect BodyDecoder type (getkin#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
fenollp authored Jan 14, 2022
1 parent e02b3c0 commit a99f24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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{}.
}
```
Expand Down

0 comments on commit a99f24a

Please sign in to comment.