It's all about leveraging 'the case class attributes as JSON fields'.Mediumhttps://jamesjg.medium.com/master-scala-rest-apis-in-3-simple-concepts-illustrated-guide-with-tapir-http4s-and-circe-2-2-3b0c270ddd26
to enable auto-derivation, you'll need to have an instance object of io.circe.generic.AutoDerivation and sttp.tapir.generic.auto.SchemaDerivation imported into scope.Mediumhttps://jamesjg.medium.com/master-scala-rest-apis-in-3-simple-concepts-illustrated-guide-with-tapir-http4s-and-circe-2-2-3b0c270ddd26