AvroNamespace

final class AvroNamespace(val namespace: String) extends StaticAnnotation

Annotation which can be used to set the namespace in derived schemas.

The annotation can be used in the following situations.

  • Annotate a type for enum namespace when using deriveEnum.
  • Annotate a type for fixed namespace when using deriveFixed.
  • Annotate a case class for record namespace when using Codec.derive from the generic module.
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any

Value members

Concrete methods

final override def toString: String
Definition Classes
Any

Concrete fields

final val namespace: String