Skip to content

Commit

Permalink
fix doc bytes (#3372)
Browse files Browse the repository at this point in the history
  • Loading branch information
timzaak authored Dec 6, 2023
1 parent 9a91e2a commit a34ba55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/endpoint/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Individual endpoints can be annotated with content length limit:
import sttp.tapir._
import sttp.tapir.server.model.EndpointExtensions._

val limitedEndpoint = endpoint.maxRequestBodyLength(maxBytes = 163484L)
val limitedEndpoint = endpoint.maxRequestBodyLength(maxBytes = 16384L)
```

The `EndpointsExtensions` utility is available in `tapir-server` core module.
Expand Down

0 comments on commit a34ba55

Please sign in to comment.