Skip to content

Tags: zio/zio-http

Tags

v3.0.0-RC9

Toggle v3.0.0-RC9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[openapi] fix incomplete handling (fails on Schema.Lazy) for openapi'…

…s fromEndpoints (#2935)

* add a failing test

* fix code to pass failed test

v3.0.0-RC7

Toggle v3.0.0-RC7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update zio-sbt-website to 0.4.0-alpha.26 (#2832)

Co-authored-by: Milad Khajavi <[email protected]>
Co-authored-by: Nabil Abdel-Hafeez <[email protected]>

v3.0.0-RC6

Toggle v3.0.0-RC6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update zio-sbt-website to 0.4.0-alpha.25 (#2733)

v3.0.0-RC5

Toggle v3.0.0-RC5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Proper imports for generated openapi code (#2718)

* feat: load scalaFmt only once

When generating multiple files, that are all formatted with the same scalafmt.conf, load it only once.

In addition, writeFiles now returns a list of written paths. This will allow to use it in a source generation step e.g. in sbt.

* feat: Proper imports for generated openapi code

Extend the code generator, such that each generation step
can add imports, which are then rendered at the file or object level.

This fixes a few issues where imports were missing for generated case
classes, that had `Chunk` fields. It also unifies the handling of UUIDs
and opens the dor for additional future configuration options. For
example the collection type can be made configurable, or user defined
types can be added to the imports.

`writeFiles` now returns a list of written files. This allows for use
in sbt code generation tasks. I will add an sbt plugin in a later PR.

v3.0.0-RC4

Toggle v3.0.0-RC4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Improve OpenAPI model; Add OpenAPI generator for EndpointAPI (#1498) (#…

…2470)

* Improve OpenAPI model; Add OpenAPI generator for EndpointAPI (#1498)

* Minimize schema for optional fields

* Integrate main changes

* Fix Scala 3 build

* Fix exhaustive matching

* More OpenAPI generation tests

* Use latest zio-schema snapshot for Scala 3 macro derivation fix

* Formatting

* OpenAPI tests now compare json ASTs, to avoid string render differences

* Refactoring

* improve docs (#2482)

* Add a test of a middleware providing a context to a `Routes` (#2487)

* Add a test of a middleware providing a context to a `Routes`

* Add a test of a middleware providing a context to a `Routes`

* scalafmt

* scalafmt

* Remove usage of deprecated method in build.sbt (#2486)

* Update sbt-github-actions to 0.18.0 (#2484)

* Update sbt-github-actions to 0.18.0

* Regenerate GitHub Actions workflow

Executed command: sbt githubWorkflowGenerate

* Update netty-codec-http, ... to 4.1.100.Final (#2485)

* Generate readme

* OpenAPI gen support for all kinds of enums with(out) discriminators

OpenAPI gen support for default values, optional and transient fields

---------

Co-authored-by: TomTriple <[email protected]>
Co-authored-by: Jules Ivanic <[email protected]>
Co-authored-by: Scala Steward <[email protected]>

v3.0.0-RC3

Toggle v3.0.0-RC3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update netty-codec-http, ... to 4.1.100.Final (#2485)

v3.0.0-RC2

Toggle v3.0.0-RC2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Docs appendable to Endpoint, no name req. for out methods in Endpoint (

…#2203)

Docs appendable to`Endpoint`, no name req. for out methods in `Endpoint`

Also add method to append doc to `EndpointMiddleware`

fixes #2195
fixes #2193

v3.0.0-RC1

Toggle v3.0.0-RC1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Endpoint#outErrorWith (#2097)

* Endpoint#outErrorWith

* Missing cases

* Revert "Missing cases"

This reverts commit 58fcec6.

* Revert "Endpoint#outErrorWith"

This reverts commit 0b5a103.

* Alternative version

* Remove debug code

* HttpCodec.enum

* enum => enumeration

* Partial application trick

* Simplify enumeration

v0.0.5

Toggle v0.0.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Doc.toHtmlSnippet based on Html (#2025)

* Doc.toHtmlSnippet based on Html

* Fix imports