github AVSystem/scala-commons v1.31.0

latest releases: v2.20.0, v2.19.0, v2.18.0...
6 years ago

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 materialization
  • Applier and Unapplier typeclasses
  • annotations materialized using @reifyAnnot and @reifyEncodedAnnot can accept parameters annotated as @infer which will be inferred by macro engine as implicits

Don't miss a new scala-commons release

NewReleases is sending notifications on new releases.