Package

org.coursera.autoschema

annotations

Permalink

package annotations

Visibility
  1. Public
  2. All

Type Members

  1. class Description extends Annotation with StaticAnnotation

    Permalink

    Lets you manually set a description for a field

    Lets you manually set a description for a field

    Example:
    1. @Description("This is a custom date")
      case class MyDateType
  2. class ExposeAs[T] extends Annotation with StaticAnnotation

    Permalink

    Lets you set the schema for one type to be the schema of another type

    Lets you set the schema for one type to be the schema of another type

    T

    The type whose schema will be used

    Example:
    1. @ExposeAs[Int]
      case class MyIntLikeType
    Note

    Ignored if FormatAs is present

  3. class FormatAs extends Annotation with StaticAnnotation

    Permalink

    Lets you manually set the type and format to be used when generating schema for the annotated type

    Lets you manually set the type and format to be used when generating schema for the annotated type

    Example:
    1. @FormatAs("string", "date")
      case class MyDateType

Value Members

  1. object Term

    Permalink

    Contains AutoSchema annotations that can be used on fields (vals, vars, etc.)

Ungrouped