public class MappingHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Optional<Mapping> |
getMapping(Field field,
Annotations annotations)
Get the mapping for a certain field.
|
static Optional<Mapping> |
getMapping(Reference r,
Annotations annotations)
Get the mapping for a certain reference.
|
static boolean |
shouldCreateTypeInSchema(Annotations annotations) |
public static boolean shouldCreateTypeInSchema(Annotations annotations)
public static Optional<Mapping> getMapping(Field field, Annotations annotations)
annotations - the annotationspublic static Optional<Mapping> getMapping(Reference r, Annotations annotations)
annotations - the annotationsCopyright © 2018–2020. All rights reserved.