ConfigDoc
izumi.distage.config.model.ConfigDoc
final class ConfigDoc(val doc: String) extends DIStageAnnotation
Attaches a $comment field with the contents of the annotation to config's JSON Schema generated by ConfigWriter.
@ConfigDoc("this is an example config")
final case class ExampleConf(
@ConfigDoc("this is an example field")
intField: Int,
)
Attributes
- See also
- Graph
-
- Supertypes
-
trait DIStageAnnotationtrait TypeConstrainttrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Members list
In this article