Changes in REST framework:
- support for
application/x-www-form-urlencoded
through@FormBody
annotation on REST methods OpenApi
now supports arbitrary JSON values for default values in schemas, enums and examples- Default values from
@whenAbsent
annotation on method parameters and case class parameters are included into generated OpenAPI documents @example
annotation for REST parameters to define example values later included into OpenAPI document
Other changes:
MacroGenerated
now accepts typed companion which may inject implicits into macro materializationApplier
andUnapplier
typeclasses- annotations materialized using
@reifyAnnot
and@reifyEncodedAnnot
can accept parameters annotated as@infer
which will be inferred by macro engine as implicits