Skip to content

Commit

Permalink
Merge pull request #153 from danielgtaylor/ct-typo
Browse files Browse the repository at this point in the history
docs: fix content type typo [ci skip]
  • Loading branch information
danielgtaylor authored Oct 23, 2023
2 parents 5265385 + c8cead3 commit 0b26e61
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 @@ -387,7 +387,7 @@ The special struct field `Body` will be treated as the input request body and ca

| Tag | Description | Example |
| ------------- | ------------------------- | ---------------------------------------- |
| `contenttype` | Override the content type | `contenttype:"application/octet-stream"` |
| `contentType` | Override the content type | `contentType:"application/octet-stream"` |
| `required` | Mark the body as required | `required:"true"` |

`RawBody []byte` can also be used alongside `Body` or standalone to provide access to the `[]byte` used to validate & parse `Body`, or to the raw input without any validation/parsing.
Expand Down

0 comments on commit 0b26e61

Please sign in to comment.