zio-http icon indicating copy to clipboard operation
zio-http copied to clipboard

A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers

Results 215 zio-http issues
Sort by recently updated
recently updated
newest added

fixes #2716 /claim #2716

🙋 Bounty claim

OpenAPI supports such limitations and it also seems fitting for our API.

enhancement

**Is your feature request related to a problem? Please describe.** Currently, `PathCodec#/` requires the `Routes` passed to it to have the errors handled and/or mapped to `Response`. This limits where...

enhancement

**Is your feature request related to a problem? Please describe.** I need to be able to return JSON from APIs where empty collections are serialized as `"myList": []` instead of...

enhancement

**Describe the bug** With parameterized case class used as endpoint's output, Open API documentation generator crashes. **To Reproduce** Steps to reproduce the behaviour: 1. Run the following code: ``` //>...

bug
💎 Bounty

For a field of type Map[String, List[String]] (or List of anything for that matter), the OpenAPI generator fails Run this program to reproduce: ``` import zio.http.endpoint.openapi.JsonSchema import zio.http.endpoint.openapi.JsonSchema.SchemaStyle import zio.schema.*...

bug

**Is your feature request related to a problem? Please describe.** Currently, `zio-http` provides 2 config options for `RequestStreaming`: 1. `Disabled` (with a maximum number of bytes that the request can...

enhancement

Assume I have the following ZIO HTTP App: ```scala object MainApp extends ZIOAppDefault { def run = Server.serve( Routes( Method.GET / "hello" -> handler(Response.ok), ), ).provide( Server.live, ZLayer.fromZIO(ZIO.config(Server.Config.config)).debug) ) }...

💎 Bounty

Hi! Would it be possible to add support for accessing Env in e.g. Routes.handleErrorRequestCauseZIO(f: (Request, Cause[Err]) => ZIO[Any, Nothing, Response]): Route[Env, Nothing] so it becomes Routes.handleErrorRequestCauseZIO(f: (Request, Cause[Err]) => ZIO[Env,...

enhancement
💎 Bounty

**Describe the bug** When using a websocket, sending a message to early as the server can cause problems in netty. The initial connection is established with no signs of problems...

bug
💎 Bounty