v0.17.0-M9
Auto/semi auto derivation: Validator
and Schema
derivations are now configurable. In order make your code compile as it was before, you need to add an explicit import:
import sttp.tapir.generic.auto._
or separately:
import sttp.tapir.generic.schema._
import sttp.tapir.generic.validator._
You can also use ValidatorDerivation
and SchemaDerivation
mixins. See https://tapir.softwaremill.com/en/latest/endpoint/customtypes.html#schema-derivation for more details.
There's also a ScalaFix migration available: https://github.com/xela85/TapirGenericAutoMigration.