Package io.contextmap.annotations
Annotation Type ContextApiProperty
Annotation used to customize the documentation of a property.
-
Optional Element Summary
Optional Elements
-
Element Details
-
dataType
String dataTypeCan be used to override the class' simple-name documentation for a property.- Returns:
- the name of the data type of the property
- Default:
- ""
-
description
String description- Returns:
- the description for a property
- Default:
- ""
-
example
String exampleOnly Enums are automatically documented with an example, which contains the potential values of the Enum.- Returns:
- an example for a property
- Default:
- ""
-