Skip to content

Commit

Permalink
Merge pull request #591 from j0urneyK/main
Browse files Browse the repository at this point in the history
Fix typo in request-inputs.md
  • Loading branch information
danielgtaylor authored Sep 30, 2024
2 parents 8313d66 + da4eb4e commit 6e119e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/features/request-inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ huma.Register(api, huma.Operation{
Path: "/text",
Summary: "Example to post plain text input",
}, func(ctx context.Context, input struct {
RawBody []string `contentType:"text/plain"`
RawBody []byte `contentType:"text/plain"`
}) (*struct{}, error) {
fmt.Println("Got input:", input.RawBody)
return nil, nil
Expand Down

0 comments on commit 6e119e8

Please sign in to comment.