Granular configuration at the endpoint level?

Hello again! Apologies, lots of questions from me lately…

Is it possible to configure a Max-content-length for specific endpoints?

Same question for request timeouts?

I’m migrating a service away from Akka, so I’m trying to get my new Tapir service as close as possible to the legacy one. I’m using http4s as a server.

No worries, keep them coming!

We don’t have such configuration currently. We do plan to add it to the netty server, but you are right that maybe this should be supported across all server implementations (when possible). Can you vote on the issue, or create a new one?

For visibility: I created [Feature Request] Add more global configuration options with endpoint level overrides · Issue #3175 · softwaremill/tapir · GitHub :+1:

1 Like