We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When generating Scala code from an OpenAPI JSON file containing a response with the following structure:
"content": { "application/json": { "schema": { "type": "object" } } }
The generated code produces the following:
case class ResponseBody() object ResponseBody { implicit val codec: Schema[ResponseBody] = DeriveSchema.gen[ResponseBody] }
However, the required import import zio.schema._ is missing, causing compilation errors.
zio.schema._
To Reproduce Steps to reproduce the behaviour:
Expected behaviour The generated code should include the necessary import for zio.schema._ to ensure it compiles successfully.
Used version zio-http version: 3.0.1
3.0.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When generating Scala code from an OpenAPI JSON file containing a response with the following structure:
The generated code produces the following:
However, the required import import
zio.schema._
is missing, causing compilation errors.To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The generated code should include the necessary import for zio.schema._ to ensure it compiles successfully.
Used version
zio-http version:
3.0.1
The text was updated successfully, but these errors were encountered: