Skip to content

Commit

Permalink
configurable body decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
RangelReale committed Jul 7, 2023
1 parent fb47459 commit c6b4fe1
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 @@ -192,7 +192,7 @@ a framework-specific function should be set using `WithPathValue`. Some of these
Body unmarshals data into the struct field, usually JSON or XML.

- required: whether an HTTP body required to exist. Default is true.
- type: type of body to decode. If blank, will use the `Content-Type` header.
- type: type of body to decode. If blank, will use the `Content-Type` header. Should be only a type name ("json", "xml").

# Author

Expand Down

0 comments on commit c6b4fe1

Please sign in to comment.