Generic derivation based macros for JsonSchema type class of Scala endpoints library.
This project provides fully compatible, drop-in replacement that doesn't use Shapeless, but Scala macros directly. This approach has several advantages:
- immediate compilation-time performance improvements
- more descriptive error messages
- no runtime overhead as materialization to
Coproductis not required
- avoided runtime dependency on Shapeless
However, be noticed that this is experimental project.
To get started, first add project dependency to your
libraryDependencies += "io.scalaland" %% "endpoints-json-schema-macros" % "0.10.0"