tapir icon indicating copy to clipboard operation
tapir copied to clipboard

[Feature Request] Add more global configuration options with endpoint level overrides

Open max-peroch opened this issue 1 year ago • 1 comments

Hello,

Creating this ticket as suggested on https://softwaremill.community/t/granular-configuration-at-the-endpoint-level/273/3 .

This is to echo https://github.com/softwaremill/tapir/issues/2971 but more generally, ie. across all server implementations.

It would be great to be able to configure request timeouts, max content lengths, etc globally with the possibility to override the global value on a per-endpoint basis.

Is this already planned for other implementations besides Netty?

Thank you!

max-peroch avatar Sep 14 '23 21:09 max-peroch

max-content-length is done. request-timeouts would need investigation

adamw avatar Dec 22 '23 10:12 adamw